how i mislay specific node within xml record controlling vbscript


i am carrying problem i can't name specific xml node needs deleted. i have already attempted name node controlling xpath works glorious xml files nonetheless i can't figure out repremand xpath node some-more challenging file.



does anybody know freeware apparatus bucket xml record user name specific node receives accurate xpath but carrying an bulletin path?



/root/anything[2] <-- unfortunatly i can't such matter since array component competence change. i need an countenance formed an attribute.



in box there freeware apparatus operation, does anybody know another proceed i name indispensable node?



xml sample:



root node: smsformdata



attributes: xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema" formatversion="1.0" xmlns="http://schemas.microsoft.com/systemsmanagementserver/2005/03/consoleframework"



child node: form



attributes: id="some guid" customdata="some data" formtype="some type" forcerefresh="false"



child/child node: pages



child/child/child node: page



attributes: vendorid="vendorname" id="some guid" assembly="dll record name" namespace="some namespace" type="some type" helpid="">



my xpath countenance name specific page be:



xpath = /smsformdata/form/pages/page[@id="some guid"]



to preference i am controlling following vbscript code:



set objdom = createobject("msxml2.domdocument.4.0") 
objdom.async = fake
objdom.load(file)
set objnode = objdom.selectsinglenode(xpath)


the problem objnode vigilant empty. node selected, nonetheless why?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?