tbaror Posted October 6, 2009 Posted October 6, 2009 Hello All, I have issue with script i am trying to write add _XMLCreateChildNode and get error "COM Error with DOM! Variable must be type of typ 'OBJECT' error # 000000A9" the code is very simple but i cant figure out where is the pb please advice Thanks #include <Constants.au3> #include <EventLog.au3> #include <Array.au3> #Include <File.au3> #Include <_XMLDomWrapper.au3> $DelRpF = _XMLFileOpen (@ScriptDir & "\CPU1.xml") ; $tPathSec ='/chart/chart_data' _XMLCreateChildNode ($tPathSec,'row') _XMLSaveDoc($DelRpF) the xml <chart> <chart_data> <row> <null/> <string>1sec</string> <string>2</string> <string>3</string> <string>4</string> <string>5sec</string> <string>6</string> <row/> </chart_data> </chart>
tbaror Posted October 6, 2009 Author Posted October 6, 2009 i found it the pb where in the xml thanks any way
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