i am having trouble figuring out how to extract attribute values using xsl.
i can create attributes using <xsl:attribute> but how to it extract the
values?

for example,

<name last="doe" first="john">
 <sex>Male</sex>
</name>

i can get the <sex> value buy:

<xsl:template match="name">
 <!-- here i want to insert the first and the last name -->
 <xsl:value-of select="sex"/>
</xsl:template>

any help would be appreciated...

Thanks,
RUm

Reply via email to