How to structure HTML text (tags and attributes) for processing in LiveCode?
Colin Holgate
coiin at verizon.net
Sun Jun 12 10:56:02 EDT 2011
Not sure how my other reply ended up on the wrong thread! Take two...
Here is a different approach:
If your source is XHTML you can treat it as XML, and go through nodes that way. If it's not XHTML, look at this tool:
http://www.ibm.com/developerworks/xml/library/x-tiptidy/index.html
You might be able to command-line make HTML be more friendly, then treat it as XML once you've tidied it up.
More information about the use-livecode
mailing list