Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML in Netscape

Status
Not open for further replies.

stinkybee

Programmer
May 15, 2001
218
GB
Does anyone know the eqivelant of the following in Netscape.

xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load('xmlFile.xml')
 
Use the Microsoft MSXML3 parser. This enables you to use the new W3C conventions:

set XMLObject = Server.CreateObject("Msxml2.DOMDocument")
' set up the output stream that will receive the output of the command execute
cmd.Properties("Output Stream") = XMLObject 'The XML object

' execute the command stream with the settings specified above to get the XML data
cmd.Execute , , 1024 ' adExecuteStream
XMLObject.async = false

set XSLObject = Server.CreateObject("Msxml2.DOMDocument")
XSLObject.async = false
XSLObject.load(Server.MapPath(".") & "/../XSL/FormatQuestion.xsl")

'*** Combine XML and XSL
Result = XMLObject.transformNode(XSLObject)
'*** Return the result
Response.Write(Result)
Regards,

Oliver Talens
*****************************
Abyss I.T. Solutions
Mathildastraat 36B
4901 HC Oosterhout


tel: +31 (0)162-439809
fax: +31 (0)162-439882
O.Talens@Abyss.nl
*****************************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top