Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Trouble with XSL [Thread Next] Re: Trouble with XSLTo: NULL Date: 1/3/2007 11:02:00 AM
carra@u... schrieb:
> 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>
Are you sure you want to throw away the heading text and make the other
elements children of heading elements? Sounds illogical to me. Otherwise
see the thread "HTML Parsing Question" from 31 December 2006.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
