|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Same TAG name ?
Hi to all!
I' ve got a DOM like the follow one:
<root>
<BOOK>
<TITLE>
.....
</TITLE>
<CLICCABLE>
....
</CLICCABLE>
<AUTHOR>
<NAME>....</NAME>
<CLICCABLE>...</CLICCABLE>
</AUTHOR>
</BOOK>
.....
.....
</root>The problem is that when I apply the 'AUTHOR template' in my XSL , and I want to consider CLICCABLE , the process takes the first one , instead I need the second one (inside AUTHOR) !
<xsl:template match="BOOK">
<xsl:apply-templates select="AUTHOR"/>
...........
</xsl:template><xsl:template match="AUTHOR"> <xsl:if test="CLICCABLE=1"> <!-- value token from the first one!!!! --> ......... </xsl:template> THANKS! XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








