Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Recursion within documentElement.transformNode ??? [Thread Next] Re: Recursion within documentElement.transformNode ???To: NULL Date: 9/10/2009 1:01:00 PM Jack Maclean wrote: > <thread> > > <threadentry id="1760434" img="a.jpg" text="Start New Thread"> > > > <threadentry id="1760440" img="a.jpg" text="First Reply"> > </threadentry> > > <threadentry id="1760445" img="b.jpg" text="Second Reply"> > > <threadentry id="1760440" img="c.jpg" text="Reply to the reply."> > </threadentry> > > </treadentry> > > </threadentry> > > </thread> > the simplest XSL that I can get to work looks like this. Its not doing > what I want, it just outputs the root elements, no child elements. > > > <div xmlns:xsl="http://www.w3.org/TR/WD-xsl"> XSLT 1.0 has been standardized in 1999 and the namespace of XSLT is http://www.w3.org/1999/XSL/Transform. The namespace http://www.w3.org/TR/WD-xsl you are using is that of a predecessor of XSLT 1.0 that only old versions of MSXML (3.0 and earlier) support. Unless you have legacy code I would strongly suggest not to use that namespace anymore but use XSLT 1.0. As for your question, if you post the HTML output you want to generate for the XML input sample you have posted then we can help with an XSLT 1.0 stylesheet. -- Martin Honnen --- MVP XML http://msmvps.com/blogs/martin_honnen/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
