is an XML tree generic
Posted: Tue Jun 23, 2009 5:25 pm
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
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