XML snippet:
I need to find all the "package" elements with attribute ptype=Skintone and ignore the others.
My current attempt is:
Please help!
Code:
<packages ptype="Skintone" isOrphan="false" isBroken="false" ptype2="2">
I need to find all the "package" elements with attribute ptype=Skintone and ignore the others.
My current attempt is:
Code:
<xsl:template match="package[@ptype = 'Skintone']">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="package">
// <xsl:apply-templates/>
</xsl:template>
Please help!