Blinky Posted September 29, 2012 Share Posted September 29, 2012 Hello! I`m doing a product database for my firm with an automatic upload of the product list in a XML format that my online shop works with. i need help to find a way to modify a node value and ,from what i can make of it, i cant use the DOM Wrapper UDF to do this or at least could some one provide me with a list of commands that a DOM object suports.(i`m not very good at java scripting) i tryed the direct approach ( $objNode.nodeValue="value" ) and it doesnt work this is a sample of the XML i`m working with , and i need to modify the value of the price tag of a specific product id <?xml version="1.0" encoding="UTF-8"?> <products> <product> <id>1</id> <price>0.00</price> </product> <product> <id>2</id> <price>0.00</price> <available>1</available> </product> <product> <id>3</id> <price>0.00</price> </product> </products> thanx in advance... Link to comment Share on other sites More sharing options...
StringingLong Posted September 30, 2012 Share Posted September 30, 2012 Does this absolutely have to be with Windows and AutoIt? If not, then use PHP and SimpleXml to do your processing. Link to comment Share on other sites More sharing options...
Blinky Posted September 30, 2012 Author Share Posted September 30, 2012 i have already created my database with autoit and sqlite its verry hard for me now to recode every thing in php plus im a verry big fan of autoit. of course i could regenerate the xml every time i modify the list of products Link to comment Share on other sites More sharing options...
jdelaney Posted October 1, 2012 Share Posted October 1, 2012 You must not have gotten the object properly. Show us the XPATH you are using.http://www.w3schools.com/dom/default.asp IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
ppinto Posted October 10, 2012 Share Posted October 10, 2012 (edited) Good morning, I think this topic is appropriate to ask a silly(?) doubt I have regarding the XML DOM wrapper: - There is a xml file from the web which has around 11 mb, but I only want to fetch one specific node. Is it possible with the wrapper to fetch a specific node (through adding attributes to the URL), where I only download that specific node and not the entire file? Kind regards, Pedro Edited October 10, 2012 by ppinto Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now