You can create a button that will βreceiveβ the contents of the web view using the GetLayoutObjectAttribute function.
First give the web view object a name.
Then create a script that sets the field or variable using:
GetLayoutObjectAttribute (objectName; "source") - returns the URL of the object GetLayoutObjectAttribute (objectName; "content") - returns the current content of the object (html, xml, etc.)
Now create a button that calls the newly created script.
if you are going to parse xml, see http://www.briandunning.com/cf/1 for a feature that simplifies parsing.
source share