Problem using XSL on FF

Daniel Tadeu <[email protected]> Tue, 22 Jan 2008 09:51:58 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.xml
Organization http://groups.google.com
Message-ID <716560cc-7427-428f-a67c-d9c9c58e659f@v46g2000hsv.googlegroups.com>
Hi all,

I'm trying to generate a web page page using XML and XSL, according
the codes below. When I load the XML on IE6 and IE7, it works. When I
load the XML on Firefox (2.0.0.11), the command <xsl:copy-of> doesn't
work. Why it happens? Should I change something on codes?

Thanks,
Daniel

<< cars.xml >>
<xml>
<search>
<year>2007</year>
</search>
<chart>
<series>
<values id="car1">3000</values>
<values id="car1">5000</values>
</series>
</chart>
</xml>

<< template.xsl >>

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt" extension-element-
prefixes="msxsl" version="1.0">

<xsl:template match="/">
<textarea rows="40" cols="80" id="meuxml">
<xsl:copy-of select ="xml/chart"/>
</textarea>
<script>
alert(meuxml.value);
</script>
</xsl:template>
</xsl:stylesheet>