Retrieving Browser Widget DOM

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Retrieving Browser Widget DOM

Alejandro Tejada
Hi All,

Does exists some command or function to retrieve
the Browser Widget DOM?

I could see the webpage source with this code:
put the htmltext of widget "Browser" but
How could I see the rendered DOM?

Thanks in advance!

Al

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
hh
Reply | Threaded
Open this post in threaded view
|

Re: Retrieving Browser Widget DOM

hh
Hi Al,

AFAIK there is no built-in DOM Inspector.

In case you write one, in livecodeshare (Sample Stacks) I found once
several XML-stacks containing very useful handlers.

H.

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Retrieving Browser Widget DOM

mwieder
Warning, though... it's madness trying to treat html as valid xml.
--
 Mark Wieder
 ahsoftware@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: Retrieving Browser Widget DOM

Trevor DeVore
On Tue, Nov 29, 2016 at 5:22 PM, mwieder <[hidden email]> wrote:

> Warning, though... it's madness trying to treat html as valid xml.
>

Amen!

It would be nice to have something like this wrapped up for use in LiveCode:

http://xmlsoft.org/html/libxml-HTMLparser.html

--
Trevor DeVore
ScreenSteps
www.screensteps.com    -    www.clarify-it.com
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode