|
Subject: [xsl] Not Node() but string onlye From: "Karl Stubsjoen" <karl@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 7 Jan 2005 21:57:22 -0700 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] how to pass in saxon comm, Michael Kay | Thread | RE: [xsl] Not Node() but string onl, Michael Kay |
| [xsl] how to pass in saxon command , dmitrik | Date | [xsl] Retrieving Distinct text, Keyur K |
| Month |