Forum Moderators: mack
Please please can you help me out? I've been looking all over and this seems as if it should be simple but all I seem to get are error messages...
I needs to display address and contact details on a web page which will then be searchable by site visitors.
I don't mind if I use PHP or simply the XSL and XML files to create the HTML pages. Can anyone give me a starting point?
Many, Many Thanks :)
If you have PHP 5 you can use SimpleXML [php.net] which is very nice for handling XML files. :)
<%
'Load XML
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load(Server.MapPath("file.xml"))
'Load XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load(Server.MapPath("file.xsl"))
'Transform file
Response.Write(xml.transformNode(xsl))
%>
Marshall