This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: question about javascript and XSL
[Simon Choy]
> thank you all
>
> I must be doing something retarded then
>
'Fraid so, if you sent us what you are really testing... :-)
> this is the XSL file "test.xsl"
>
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Just a little cut-and-paste problem, that's all - this will work:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Now when I transform your example into an html file, the html file works as
expected.
I suggest you add
<xsl:output method='html' encoding='iso-8859-1'/>
Since you are producing and html file (assuming your editor produces
iso-8859-1 or something similar) - tends to cause less problems for older
browsers.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list