XML tree with spaces

Nic Prioleau nickp at didata.bw
Tue Apr 24 05:07:57 EDT 2007


Good day everyone,

I have used the very informative xmltree-view stack as well as Sarah's tutorial on XML & runrev but have come up with a small glitch and am wondering how I can rectify it. I basically read data from my sql DB into an array and then build an xml-tree from this data, however, if there are any spaces in records returned, only the first word will be displayed in the tree. Is this a limitation or am I doing something wrong?

e.g.

- Trucks
    B456AFD
    B54633G
    B537HGR
- Customers
    N3P (Software)
    Dimension (Data)

under my customer tree, instead of the whole word, I just get the first part and because I then have code that looks up data based on the "selectednode", I am not getting any result.

Any help/shove in the right direction is much appreciated.

Thanks
Regards
Nic
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################



More information about the use-livecode mailing list