C
carra
Hi
If I have some XML that looks like this...
<heading1>fdfdfdfdf</heading>
<para>text1</para>
<para>text2</para>
<table>Table structure</table>
<para>text3</para>
<heading2>gfhgjg</heading>
<para>text4</para>
How do I transform it with XSL so that all the para's and tables under
the headings are wrapped within the heading so that it looks like
this....
<heading1>
<para>text1</para>
<para>text2</para>
<table>Table structure</table>
<para>text3</para>
</heading>
<heading2>
<para>text4</para>
</heading2>
Any help would be appreciated
Regards
Andy
If I have some XML that looks like this...
<heading1>fdfdfdfdf</heading>
<para>text1</para>
<para>text2</para>
<table>Table structure</table>
<para>text3</para>
<heading2>gfhgjg</heading>
<para>text4</para>
How do I transform it with XSL so that all the para's and tables under
the headings are wrapped within the heading so that it looks like
this....
<heading1>
<para>text1</para>
<para>text2</para>
<table>Table structure</table>
<para>text3</para>
</heading>
<heading2>
<para>text4</para>
</heading2>
Any help would be appreciated
Regards
Andy