• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Should I be using XML 1.0?

Ramius

Senior member
From about a year ago, I have this simple Menu system that uses XML as a datasource. An ASP filters it through a XSL file to produce a DHTML/JavaScript menu.

I am using &quot;<?xml version=&quot;1.0&quot;?>&quot;

And my ASP looks like this:

<% @LANGUAGE=&quot;JScript&quot; %>
<%
' Works in IE4 and IE5'
var myXml = &quot;menu.xml&quot;
var myXsl = &quot;menu.xsl&quot;

var oXmlDoc = Server.CreateObject(&quot;MICROSOFT.XMLDOM&quot😉;
var oXslDoc = Server.CreateObject(&quot;MICROSOFT.XMLDOM&quot😉;

oXmlDoc.async = false;
oXslDoc.async = false;
oXmlDoc.load(Server.MapPath(myXml));
oXslDoc.load(Server.MapPath(myXsl));
Response.Write(oXmlDoc.transformNode(oXslDoc));
%>

Would this still work, or should I rewrite most of it to go with the newer XML stuff?
Thanks for any opinions...
 
Back
Top