Is it possible to use external libraries in the parsing xml ?
hi, !
is possible use external libraries or other ways parsing xml files ? in example part of script which using activexobject parsing url (receive xml file).
function getxmldocument(url) { var xml; if(window.xmlhttprequest) { xml=new window.xmlhttprequest(); xml.open("get", url, false); xml.send(""); return xml.responsexml; } else if(window.activexobject) { xml=new activexobject("microsoft.xmldom"); xml.async=false; xml.load(url); return xml; } else { alert("not loaded"); return null; } }
extendscript has built-in support xml it's xml class. can use parsing xml. doesn't data http. there low level socket class might able use.
More discussions in Photoshop Scripting
adobe
Comments
Post a Comment