Message 1 of 3
DotNet XML in MaxScript
Not applicable
06-30-2009
02:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I'm writing a little script that uses the DotNet XMLDocument object.
Previously,
I used to make extensive use of the msXML ActiveX control through MaxScript.
The sintax would usually be:
That makes an error in the DotNet XML,
Where I can only use:
It's not terrible writing it that way,
But I would prefer using the more convinient and strait indexing method,
What's weird is that firstChild, lastChild, do work, but childNodes dont.
Thanks for any reply
Oded
I'm writing a little script that uses the DotNet XMLDocument object.
Previously,
I used to make extensive use of the msXML ActiveX control through MaxScript.
The sintax would usually be:
TheReleventXMLNode = TheXMLObject.firstChild.childNodes.childNodes
That makes an error in the DotNet XML,
Where I can only use:
TheReleventXMLNode = (TheXMLObject.firstChild.childNodes.itemOf 0).childNodes.itemOf 2
It's not terrible writing it that way,
But I would prefer using the more convinient and strait indexing method,
What's weird is that firstChild, lastChild, do work, but childNodes dont.
Thanks for any reply
Oded