Minikori Posted July 11, 2009 Posted July 11, 2009 (edited) Hello, I'm trying to make a database for MapleStory using xml files coming from the .wz files. But when I try to run the following:#include <_XMLDOMWrapper.au3> _XMLLoadXML(@DesktopDir & "\MapleStory\String.wz.xml") $name = _XMLGetValue("Etc.img/Etc/4001257/name") $desc = _XMLGetValue("Etc.img/Etc/4001257/desc") MsgBox(0, $name, $desc)It gives this error:C:\Program Files (x86)\AutoIt3\Include\_XMLDOMWrapper.au3 (451) : ==> Error in expression.: $objNodeList = $objDoc.documentElement.selectNodes ($strXPath) $objNodeList = ^ ERRORAnybody know why? Also, I can't really understand the code and function names in the XML UDFs, is there a function that will save a whole section/directory of an XML to an array? Thanks for any help. Edited July 11, 2009 by Minikori For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com
weaponx Posted July 11, 2009 Posted July 11, 2009 Did you try putting a backslash or two in front of your queries? IT has to valid XPATH. http://www.w3schools.com/xpath/default.asp
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