[Home] [By Thread] [By Date] [Recent Entries]
At 2013-10-09 21:38 -0700, you wrote:
Just curious how other's might approach a test to determine if the current node is *not* an only child. This works fine but it feels a little heavy to me. Thoughts? I think you need "... >0" in your test above to know that the current element has no siblings. But if you know your current node is an element you could ask: test="count(../*)!=1" ... which would return true if the current element is not an only child element. I hope this helps. . . . . . . Ken
|

Cart



