I did a @tokenize <@CRLF> and @transpose to assess each line individually.

I then grabbed all lines that composed the lineitems (so were in a predictable 
format), put a <XML> before the first line and </XML> after the last and parsed 
it successfully as XML.

Works a treat.

Wayne

> On 10 Apr 2018, at 1:11 am, Robert Shubert <[email protected]> wrote:
>
> Yes, however, HTML is rarely valid XML. XHTML was supposed to address this, 
> but in reality you're not likely to get an HTML file to parse.
>
> -----Original Message-----
> From: Wayne Irvine [mailto:[email protected]]
> Sent: Sunday, April 08, 2018 5:40 PM
> To: [email protected]
> Subject: TeraScript-Talk: @DOM
>
> I have used the @DOM tag previously to encapsulate XML and then referred to 
> various elements within it.
>
> Does it also work for HTML? Can I encapsulate a page then refer to various 
> nodes in it using the Document Object Model nomenclature?
>
> Wayne
>
> Byteserve Pty Ltd
> w: http://www.byteserve.com.au/
> e: [email protected]
> p: +61 02 9960 6099
> m: 0409 960 609
> f: +61 02 9960 6088
>
>
>
>
> ----------------------------------------
>
> To unsubscribe from this list, please send an email to 
> [email protected] with "unsubscribe terascript-talk" in the body.
>
>
>
>
> ----------------------------------------
>
> To unsubscribe from this list, please send an email to 
> [email protected] with "unsubscribe terascript-talk" in the body.
>

Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: [email protected]
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to