Show all nodes expect two with xslt



I want to show la nodes and their values expect 2. For example, show all expect 'type' and 'price'



<xsl:for-each select="market/device">
<!-- ... -->
<xsl:for-each select="*[local-name()!='type']"> <!-- <<< here -->
<li><xsl:value-of select="local-name()"/></li>
<li><xsl:value-of select="."/></li>
</xsl:for-each>
<!-- ... -->
</xsl:for-each>

No comments:

Post a Comment