XML Tutorial

tuviah snyder tuviah at runrev.com
Tue Jan 13 22:48:11 EST 2004


> repeat for each line tLine of Macbeth
>   if matchText(tLine, "Speaker:(.+)$", tSpeaker)
>     revAddXMLNode(tDocID, tParent, "speaker", tSpeaker)
>   end if
>   -- etc for speech, stagedir, etc, etc.
> end repeat
>
Well in the future we may support XPATH, which would enable you to query XML
in powerful ways. You'll notice that the paths revXML returns are already
xpath compatible.

Tuviah



More information about the use-livecode mailing list