Subject:xslt issue Author:Tony Lavinio Date:12 Sep 2005 09:52 AM
You've only wrapped the age within the xsl:for-each, so that's
the only part that's getting executed in the loop.
Try moving the xsl:for-each to between the <users> and <user> line,
and the /xsl:for-each between <user> and <users>.
If that doesn't help, please post your source XML document, so we
can see what the incoming data looks like.
And to post, instead of putting the files in-line, there is a little
checkbox above the reply called "Attach File" which makes extracting
the files to look at simpler.
Subject:xslt issue Author:chris d Date:15 Sep 2005 10:54 AM
thanks i worked it out in terms of elements and attributes but i want the converted xml document to contain the doctype declaration at the top of the document - i thought that CDATA would do the trick as below but it doesn't