ZVON
>
References
>
XSLT Reference
Intro
/
Search
/
ZVON
Example 2:1:
All
|
XML
|
>> XSLT <<
|
Output
|
XSLT
<
xsl:stylesheet
xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"
version
= "
1.0
" >
<
xsl:output
method
= "
text
" />
<
xsl:template
match
= "
/
" >
<
xsl:text
>
</
xsl:text
>
<
xsl:if
test
= "
//BBB[2] < //BBB[3]
" >
<
xsl:text
> 10 < 5 </
xsl:text
>
</
xsl:if
>
<
xsl:if
test
= "
//BBB[1] = //BBB[2]
" >
<
xsl:text
> AAAAAAAA </
xsl:text
>
</
xsl:if
>
</
xsl:template
>
</
xsl:stylesheet
>