say I have a whole bunch of data in a field but it's all formated as XML
I put that into a variable and then use revCreateXMLTree etc to turn the variable into the xml tree
then once that's happened... is the tree global?
Could I be on one card that say 'lets the user add a number of phone numbers to their profile' and it has a routine to add a subset of data to the tree, once I've parsed the tree into memory, can I just access it like it's global? But without having to declare it?
Do something like
if profile/phonenumbers/default = "mobile" then etc etc
is an XML tree generic
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
As far as Rev is concerned, the tree is just a number - an index in the data structures used in its XML handling routines. You can pass around this numeric id as parameter, in a global variable, etc.
Jan Schenkel.
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com