I’m currently accessing an XML document and changing values through the use of IDs as follows:
var svgdoc;
svgdoc = document.embeds["svg"].getSVGDocument();
svgdoc.getElementById(‘element1’).getFirstChild().setData(‘This is the new data’);
Is it possible to change the data in PHP as elegantly as I can with JavaScript? I want to move the scripting off of the client’s machine to alleviate compatibility issues.
Best regards,
Tom