Jump to content

XSLT - On the Client


fernando

Recommended Posts

The w3 school tutorial gives this javascript code

<script type="text/javascript">// Load XML var xml = new ActiveXObject("Microsoft.XMLDOM")xml.async = falsexml.load("cdcatalog.xml")// Load XSLvar xsl = new ActiveXObject("Microsoft.XMLDOM")xsl.async = falsexsl.load("cdcatalog.xsl")// Transformdocument.write(xml.transformNode(xsl))</script>

Like you can see this code only works if the client uses IE. So my question is: does exist a way to make it works on a firefox user client? It's important not to use a server(can't use asp like the tutorial does), I just wanna make this works on the client.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...