Hi Troy...

Your recommendations below are working just fine.  Thanks for your
responses.  I appreciate it.

- Michael M.




> Here is what I do.

> Parse the XML.
> Use makeList()
> Null out the original XML XTRA (myXML = 0)
> Manage the list in the OI.
> Use the list as the data source - NOT the original XML.

Refresh list as necessary.

So, what about that approach doesn't work for your project?

Note that XML will frequently have some extra layers of parent nodes 
that you don't need once you have things in Director. The makeSubList() 
is an excellent opportunity to trim off that fat. Then your list is a 
cleaner list to parse through normal program operation, and helps to 
keep your XML paths shorter.

The point is - once the XML is parsed, you don't need to have the Xtra 
around anymore.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]).
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to