Hello DrHu, I check out that converter but it is client side asp to php, not server side asp to php
Example:
<%@ Language=JScript%> <%Server.ScriptTimeout=21478836%> <%Response.Buffer=false%>
<%
var gotit = (Request.QueryString("q"));
var gotfid = (Request.QueryString("FID"));
var gotmid = (Request.QueryString("MID"));
%>
---sample---
<%
Dim objXMLDoc, xmlQuery, objNodes
set objXMLDoc = CreateObject("MICROSOFT.FreeThreadedXMLDOM")
objXMLDoc.async = false
objXMLDoc.load(Server.MapPath("/images.xml"))
//a) Build the XPath Query
xmlQuery = "//ITEM[ID = '"& gotit &"']"
//b) Create a nodeset for the selected XPath
set objNodes = objXMLDoc.selectNodes(xmlQuery)
//c) Create an instance of the xslt object
set xsl=Server.CreateObject("MICROSOFT.FreeThreadedXMLDOM")
xsl.async = false
xsl.load(Server.MapPath("/parent.xsl"))
//d) Create an instance of the template object to add the parameter
set xslt = Server.CreateObject("Msxml2.XSLTemplate")
xslt.stylesheet = xsl
set xslProc = xslt.createProcessor()
xslProc.input = objXMLDoc
xslProc.addParameter "sortBy", "BB"
//Passing in the Sort Criteria
xslProc.addParameter "strXPath", objNodes
//Passing in a Nodeset as a second parameter
//e) Apply the Transformation and write the results as output
xslProc.transform()
sortedData=xslProc.output
Response.Write(sortedData)
%>
---sample---
shown are just the public rendering view, the admin dash boards are more complex and to edit, delete, add, modify all the xml files.
I format the output with xslt style sheets as forms controlled by asp.
So I figured I will use the Apache server I configured on one PC, and will just have to take it one page at a time. I have tons of java and js codes mixed with asp. So if all goes well I will redo my site and slowly share what stuff is redone. this is just one xml being called out of many where the url passes variables to select the next sort filter into the next xml set of files.
This way DOM can select a keyID from one pass, then continue to narrow down the next xml files.
I know it is not typical but nuts, yet it works fast. I am looking to better its functionality if I am going to rebuild the code in php from the ground up. Plus all the banner exchange and clicks addons and other stuff all xml driven in those sites.
Well thank you everyone who put up with me the past 10-14 days. But I think I have enough loaded tools on Mint to get me started.
Thank everyone for links to tips sites also
so far looks like this is the closet code for me in php
http://us2.php.net/manual/en/book.dom.php