|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Not Node() but string onlye
Hello,
I am using this:
<xsl:when test="not(node()) and string(.)">
To test if a node has "No Child Nodes" but contains "String only".
So example:
<!-- This should FAIL above test -->
<mynode>
I hope
</mynode>
<!-- This should FAIL above test -->
<mynode>
<wishing>
I wish
</wishing>
</mynode>
Thanks for your suggestions!
Karl
|
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








