Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

__XMLGetField returns no fieldnames

$
0
0
Hello forum members,
I try to understand the functions in _xmldomwrapper, and make some example scripts to understand the outcome.
When I use the _xmlgetfield function, i get a count of 10 fields, but no names are coming up in the table.
When I take a good look to the function, I don't understand it at some points.
the variable $objchild is being used, but I don't see why.

$objChild is empty, I think it has to be $objNodeList.childNodes.item($x) for giving the fileds
For $x =1 to $count
$objChild = $objNodeList.childNodes($x)
_DebugWrite("ParentNode="&$objNodeList.parentNode.nodeType)
If $objNodeList.parentNode.nodeType =$NODE_DOCUMENT Then
  $szNodePath="/"&$objNodeList.baseName &"/*["&$x&"]"
Else
  $szNodePath = $objNodeList.baseName &"/*["&$x&"]"
EndIf

Are there maybe newer versions of the _XMLDomWrapper? Is there a good tutor to help with this one?

Thanks in advance.
Klassieker

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>