Subject: Re: [xsl] listing elements & sub-elements in a seqence - skiping elemts if sub-elemts are present From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 24 Jul 2006 15:33:05 +0100 |
1) Whether the above code is correct or not, pls can forward me the syntax code equivalent to <for-each - //section[with no subsection] | //section/subsection..> I didn't follow the rest of your problem statement, but if you put in the obvious missing syntax bits like ="..." then essentially what you write is legal Xpath to select the elements that you want. <xsl:for-each select="//section[not(subsection]|//section/subsection"
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] listing elements & sub-elemen, Karl | Thread | Re: [xsl] listing elements & sub-el, David Carlisle |
Re: [xsl] How can I compare XSLT wi, David Carlisle | Date | Re: [xsl] listing elements & sub-el, David Carlisle |
Month |