H
Hannes Heckner
I have:
<data>
<item>
<object>bla</object>
</item>
<item>
</item>
<item>
<object>blabla</object>
</item>
now I want to build 2 lists with <xsl:for-each>
the first list should only display all items which have children
the second list should only dipslay all items which don't have children-
The first one I got myslef with:
<xsl:for-each select="/data/item/object/.."> ...
But the second list I cannot create
I thought about
<xsl:for-each select="/data/item/not(object)/..">
but it does not compile
Any help?
Thanks
Hannes
<data>
<item>
<object>bla</object>
</item>
<item>
</item>
<item>
<object>blabla</object>
</item>
now I want to build 2 lists with <xsl:for-each>
the first list should only display all items which have children
the second list should only dipslay all items which don't have children-
The first one I got myslef with:
<xsl:for-each select="/data/item/object/.."> ...
But the second list I cannot create
I thought about
<xsl:for-each select="/data/item/not(object)/..">
but it does not compile
Any help?
Thanks
Hannes