In my XML, each element has, say 10 attributes.....but I want to print only some of them. How do I do that...
I do not want to say...
<xsl:value-of select="../@attrib1"/>
<xsl:value-of select="../@attrib2"/>
:
I want to be able to filter out saying something like
<xsl:if
test!="attrib1|attrib2">
<xsl:value-of select="@attrib1"/>
</xsl:if>
My xml:
<?xml version="1.0"?>
<catalog>
<cd title="Empire Burlesque" artist="Bob Dylan" country="USA"
company="Columbia" price="10.90" year="1985"
</cd>
.
.
.
</catalog>
I want to print only the values of the following attributes
artist, Country, company.
This is just an example....actually I have something like 20 attributes but I need to print only some of them.
Thanks in advance.