Display xml and ignore schema

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Briefly we have an application that amongst other things produces an xml file which is then sent to another organisation. The xml file includes a reference to a schema that we do not have access to. As a quick way for the users to check what is in
the file, we supply an xsl file. This allows the users to double-click on the xml file whereupon it opens in Internet Explorer and is displayed in a simpler tabular format, rather than raw xml. Using IE8 (and previous) this worked, presumably because our XSL
file referred to the namespace http://www.w3.org/TR/WD-xsl, and Im guessing that this dates to before the advent of schemas - thus the schema was ignored and the xml file was displayed.
However, with the arrival of IE9, that namespace is no longer accepted, and we have had to modify our xsl file to use the namespace http://www.w3.org/1999/XSL/Transform.
Once we do that, however, in the absence of the schema, the document can no longer be displayed.
Is there anything I can add to the xsl to say - "just transform it, dont worry about the schema" ?
Sorry if this is a stupid question - Im more of a forms-over-data guy.
TIA
pg

View the full article
 
Back
Top