|
Subject: [xsl] merging the contents of consecutive From: "Annmarie Rubin \(anrubin\)" <anrubin@xxxxxxxxx> Date: Wed, 19 Oct 2005 17:53:17 -0700 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] merging the contents of c, Michael Kay | Thread | RE: [xsl] merging the contents of c, Michael Kay |
| Re: RE: [xsl] text(), whitespace, a, Roger Chi | Date | Re: [xsl] Help getting started with, Karl Stubsjoen |
| Month |