• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 502
  • Last Modified:

XSLT working in Netscape, but fails in IE due to PCDATA error, what to do?

Hi Experts,
the error I get in IE is:
Keyword xsl:stylesheet may not contain PCDATA nodes.

I have the following XML:

<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet href="dnml.xsl" type="text/xsl"?>
<Source>
<Spectrum charge="2" isotope_distribution="monoistopic" mz="1184.9453" id="jaTest_1ac_070472.893.895.2.dta">
      <peak_list type="free_peak_list" location="contained">
                 </peak_list>
.....
</Spectrum>
</Source>

Thanks,
Jens
0
allmer
Asked:
allmer
1 Solution
 
Geert BormansCommented:
Hi Jens,

can you post the first couple of lines of your XSLT
the error likely is there, but you don't show that


Cheers!
0
 
allmerAuthor Commented:
Thanks,
that was already enough help ;)
I missed a double closing >

</xsl:template>>
Netscape was fine where IE crashed.
-Jens
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now