Stylesheet for XML not rendering in IE9

I have an xml document that is now not even recognized as xml in IE9. I tried to add the correct xmlns: xsl attribute, it also has the correct header starting with

<?xml version="1.0" encoding="UTF-8"?>

This xml renders fine in IE 6 7 8 but does not work in IE9. I'm not sure if this is a problem with Quirks mode, and if I'm not sure what DOCTYPE should use for XML documents. Any help would be appreciated. The following are the first few lines of an XML document.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/mobiledoc/jsp/empi/master/CCD.xsl" ?>
<ClinicalDocument xmlns="urn:hl7-org:v3" 
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                  xmlns:sdtc="urn:hl7-org:sdtc" 
                  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                  xsi:schemaLocation="urn:hl7-org:v3 http://xreg2.nist.gov:8080/hitspValidation/schema/cdar2c32/infrastructure/cda/C32_CDA.xsd" 
                  classCode="DOCCLIN" 
                  moodCode="EVN">
+2
source share
3 answers

Can you clarify how it "is not even recognized as xml on IE9"? Does the error message appear, or does it just look different in IE9 than in previous versions?

, XML , - XSLT "/mobiledoc/jsp/empi/master/CCD.xsl", . :

  • <?xml-stylesheet .. ?>. ? (, XML ). , XSLT.

  • ? XML HTML, (X) HTML- , IE , IE9 . " " - /, , .

, , , , , , .

ETA. , <xsl:output> 4,04 HTML doctype; <xsl:output method="html"/> ( ), IE9.

+2

, ​​- . IE9 , .

- XSLT IE9.

, , , . , IE9 MSXML6 , MSXML4. XSLT , - IE9, , text(), .
, - XSLT, MSXML6, . , MSXML6? ! , Jscript. DTD. document() .

, , (, , ), xslt - . IE9 xslt, xml- ( , xslt , , xml xml, xslt- - ​​nodenames). ...

, , F12 ( "" ). Script . , , :
XSLT8690: XSLT processing failed.
, xml ( xml node ).
: http://www.wikistep.org/bugzilla/show_bug.cgi?id=4140.

, " ", ( , -minor- IE9), IE8 - , , xslt, , MSXML 4.0 , MSXML 6.0. , , .

, , , url , .
, , Alt, , / , .
, : , , xslt javascript, , Jscript IE8, xslt .

, ? - SO!
, , , , , XML DOM , DOM .
IE9 XML , XSLT XML. , , , XML ?
, , !

+1

xslt- ex document('../_data/nav.xml')/page:nav | document('http://www.ok.kz/_data/nav.xml')/page:nav, , , xml

0

All Articles