XML Woes

Trevor DeVore lists at mangomultimedia.com
Thu Jan 25 21:28:04 EST 2007


On Jan 25, 2007, at 5:55 PM, Bridger Maxwell wrote:

> Hey,
>  I am new to XML and I am having troubles again.  I have a handler  
> that
> makes XML, and in some cases it recursively calls itself and uses the
> revAppendXML command to combine the recursively called tree into  
> the tree it
> is working on.  For some reason though, after I insert the second  
> XML tree
> into the first, some of the XML nodes in the second tree get messed  
> up.  Any
> node in the second tree that doesn't contain any data gets messed up.
> <myTag></myTag>
> becomes:
> <myTag/>
>
> What does that mean?  When the second tree is returned it looks  
> fine, it
> only gets messed up after the revAppendXML command is called.  Is  
> it even
> legal to have an XML tag with the forward slash character at the  
> end of the
> name?  And where did the closing tag go?  Any help would be greatly
> appreciated.

Hi Bridger,

That is valid XML.  It is a way to close a tag that has no content.

-- 
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
trevor at bluemangolearning.com





More information about the use-livecode mailing list