Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Help with XSLT please >Thread Next - Re: Help with XSLT please Re: Help with XSLT pleaseTo: NULL Date: 6/8/2008 12:03:00 PM "KP" <potter_kirk@h...> wrote in message news:f26409bd-f282-4a32-9747-abeba725f5c1@c...... > Hi All, > > The following XML fragment is a simplification of a problem I'm trying > to solve. > > <?xml version="1.0" encoding="UTF-8"?> > <document> > <index><![CDATA[<div class="index">]]> > <partref/><![CDATA[</div>]]> > <partref/> > </index> > <part> > Part1 > </part> > <part> > Part2 > </part> > </document> > > I want to render this as > > <div class="index>Part1Part2</div> > > Can anyone give me a start on the XLS for this please? > > Thanks in advance, > > Kirk That XML is an abomination. When you say you want to render as: <div class="index>Part1Part2</div> do you mean that the div class="index" is always like that or are you taking it from the CDATA section without the <partref/> text? Is there any additional logic as to which part elements' contents are include or is it just all of them? -- Joe Fawcett (MVP - XML) http://joe.fawcett.name | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
