XML Tree and spaces

Ken Ray kray at sonsothunder.com
Thu May 3 02:59:38 EDT 2007


On Thu, 3 May 2007 08:38:41 +0200, Nic Prioleau wrote:

> I used concepts from Sarah's code and also another demo stack I found 
> that builds the actual tree with icons and wot not.. In Sarah's demo 
> stack however, she removes spaces (as illegal characters in a "Tag 
> Name"). This is where the problem comes in because some of the 
> customers in my table have spaces in their names.

That's because it is illegal to have spaces in XML tag names. My 
recommendation would be to replace the spaces with underscores (_) so 
you can look things up easily but still keep the tag as a single word.


Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/



More information about the use-livecode mailing list