Reading XML with start tag and end tag all in one tag

Mark Wieder mwieder at ahsoftware.net
Tue Jul 2 14:57:04 EDT 2013


 <mfstuart at ...> writes:

> Surely LC's XML functions can read this type of tag?
> So if it can, what functions are used to do that?

Here's a minimalist version. starting with your data in tXMLText:

    put revCreateXMLTree(tXMLText,false,true,false) into tDocID
    if tDocID is a number then
        put revXMLAttribute(tDocID, "/Application/Header/Version", "val")
    end if

-- 
 Mark Wieder
 mwieder at ahsoftware.net






More information about the use-livecode mailing list