Jump to content

__XMLGetField returns no fieldnames


Recommended Posts

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

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...