How can I parse data from inside a tag with Applescript?

Posted by cwd on Super User See other posts from Super User or by cwd
Published on 2011-11-16T16:00:34Z Indexed on 2011/11/17 1:54 UTC
Read the original article Hit count: 198

Filed under:
|
|
|
|

How can I parse data from inside a tag with Applescript? I know Applescript has the words 3 thru -2 of myTextVariable syntax - but how would I use it to be sure I am just getting
This is my text from the tags below?

<p>This is my text</p>

or

<p class="new">This is my text</p>

or

<h1>This is my text</h1>

or

<content class="new" id="content">This is my text</content>

© Super User or respective owner

Related posts about osx

Related posts about mac