Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Problem with DTD declaration >Thread Next - Re: Problem with DTD declaration Re: Problem with DTD declarationTo: NULL Date: 8/7/2008 4:17:00 PM 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/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
