How to extract an entire element from an HTML file?
paul at researchware.com
Sun Nov 25 08:55:34 EST 2018
You could do this with revXML (see teh dictionary), but it is not a
On 11/25/2018 7:12 AM, Keith Clarke via use-livecode wrote:
> I have experimented with using jQuery in a browser widget for this purpose but it introduces dependencies & integration complexities - and I’d prefer to work without necessitating a desktop UI to contain for the browser widget, so the code could potentially run on LC Server.
> I can see how I might build a 'roll-your-own' approach, using LiveCode’s powerful text & chunk features. This would seem to need the HTML file to be pre-processed, to iterate through the tags of the text file to both find & mark both each nesting level within elements and also ‘pair-up’ the (anonymous) closing tags.
> Is there a smarter way - any HTML parsing utilities/libraries/lessons/stacks I should study?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode