Subject: [xsl] Enclosing following-sibling nodes before the next element of the same type From: mhleung@xxxxxxxxxxxxxxx Date: Fri, 12 Nov 2004 16:32:46 +1100 |
Hi, How can I transform the following XML: <parent><elem/>text<br/><elem/>word<hr/>word<elem/></parent> to <parent> <elem>text<br/></elem> <elem>word<hr/>word</elem> </parent> I'd like <elem> to enclose all its following-siblings up to either the the next <elem> or the end tag of its parent element. How can I do this in XSLT ? Anyone know how can I select these nodes ? Many thanks, Michael. ------------------------------------------------------------ This email was sent from Netspace Webmail: http://www.netspace.net.au
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XML Schema + constraint v, Jarno.Elovirta | Thread | RE: [xsl] Enclosing following-sibli, Jarno.Elovirta |
RE: [xsl] xsl and toc.hhc (was xml , Allin Cottrell | Date | RE: [xsl] Enclosing following-sibli, Jarno.Elovirta |
Month |