Simon Brooke wrote:
> <URL:http://www.jasmine.org.uk/~simon/tmp/testapp.adl.xml>
>
> It should be possible to transform it with this XSLT:
>
> <URL:http://www.jasmine.org.uk/~simon/tmp/adl2canonical.xslt>
Which version of MSXML are you using?
Transformation seems to work fine when using MSXML 3, 4 or 5, only MSXML
6 when you try to validate the XML input document against the DTD
complains: "The element 'application' is used but not declared in the
DTD/Schema.". I am currently not sure why that happens but if you don't
need validation and simply want to load the XML to transform it you can
always switch validation off by setting
document.validateOnParse = false
on the MSXML2.DOMDocument.6.0 you use to load the XML input.
--
Martin Honnen
http://JavaScript.FAQTs.com/