Subject: [xsl] Flattening hierarchic xml, retaining some structure From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx> Date: Wed, 19 Jan 2005 14:56:08 +0000 |
Regards, Ragulf Pickaxe :-)
Input XML: <mynode name="xxx"> <subnode>Some text</subnode> <subnode> <mynode name="yyy"> <subnode><b>Some bold text</b></subnode> <subnode>Some text where some of it is <b>bold text</b></subnode> <subnode> <mynode name="zzz"> <subnode>Some text</subnode> <subnode>Some text</subnode> </mynode> </subnode> <subnode>Yet some text</subnode> </mynode> </subnode> <subnode>Some more text, <i>italic</i> is some of it</subnode> </mynode>
Output XML: <mynode name="xxx"> <subnode>Some text</subnode> <mynode name="yyy"> <subnode><b>Some bold text</b></subnode> <subnode>Some text where some of it is <b>bold text</b></subnode> </mynode> <mynode name="zzz"> <subnode>Some text</subnode> <subnode>Some text</subnode> </mynode> <mynode name="yyy"> <subnode>Yet some text</subnode> </mynode> <mynode name="xxx"> <subnode>Some more text, <i>italic</i> is some of it</subnode> </mynode>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] variable problem..., Markus Gamperl | Thread | Re: [xsl] Flattening hierarchic xml, Joris Gillis |
RE: [xsl] Comparing node for identi, Jim Neff | Date | [xsl] Returning node-set from javas, Christof Schreuer |
Month |