Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Grouping problem [Thread Next] Re: [xsl] Grouping problemTo: Date: 4/4/2009 3:43:00 PM No, I need the text fragments elements Vincent 2009/4/4 Martin Honnen <Martin.Honnen@xxxxxx>: > Vincent De Groote wrote: > >> I need to structure a document, based on text fragments. >> >> I have a flat xml file like this: >> >> <document> >> B <text-fragment function='section' level='1'> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> >> B <text-fragment function='section' level='2'> Some text </text-fragment> >> >> B <text-fragment> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> >> B <text-fragment function='section' level='2'> Some text </text-fragment> >> >> B <text-fragment> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> >> B <text-fragment function='section' level='1'> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> B <text-fragment> Some text </text-fragment> >> >> <document> >> >> and I want to structure the document like this: >> >> <document> >> B <section> >> B B B B Some text-fragments ... > > Do you want simply the text nodes here? Or <text-fragment></text-fragment> > elements? > > > -- > > B B B B Martin Honnen > B B B B http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
