|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] merging the contents of consecutive
Hello Michael,
Urggh. Now i have one additional case -
input:
<concept>
<overview>
<info>
...
</info>
</overview>
<info>
...
</info>
</concept>
This stylesheet code copies all info children of overview, but doesn't
copy the info node that is a sibling of overview. How do I output both
the sibling and child info elements?
<xsl:template
match="subconcept/overview[following-sibling::*[1][self::info]]">
<info>
<xsl:copy-of select="info/*"/>
</info>
</xsl:template>
thanks,
Ann Marie
|
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








