XML one-liner (if possible)

Mark Wieder mwieder at ahsoftware.net
Tue Jul 13 18:16:37 CDT 2010


Sarah-

Tuesday, July 13, 2010, 3:55:02 PM, you wrote:

> After every call to a revXML function, you can check the result for
> "xmlerr" which indicates a problem.

...with certain exceptions.

put revXMLNextSibling(tXMLID, tNode) into tNextNode

will return empty if there's no next sibling. So *mostly* you need to
check for "xmlerr" to see if you're done, and *sometimes* you also
need to check for empty or get stuck in an endless loop.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list