TeraScript-Talk: <@ELEMENTATTRIBUTE> is pink!

2018-04-09 Thread Wayne Irvine
I’m trying to get the src value of an element in XML but <@ELEMENTATTRIBUTE... comes up pink in the editor. Has this been deprecated? I’m working off old Witango 6 Programmers manual. Wayne Irvine Byteserve Pty Ltd w: http://www.byteserve.com.au/ e: i...@byteserve.com.au p: +61 02 9960 6099 m:

Re: TeraScript-Talk: <@ELEMENTATTRIBUTE> is pink!

2018-04-09 Thread Wayne Irvine
My bad, it’s <@elementattributeS…. > On 9 Apr 2018, at 5:37 pm, Wayne Irvine wrote: > > I’m trying to get the src value of an element in XML but > <@ELEMENTATTRIBUTE... comes up pink in the editor. > > Has this been deprecated? I’m working off old Witango 6 Programmers manual. > > Wayne Irvine >

RE: TeraScript-Talk: @DOM

2018-04-09 Thread Robert Shubert
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:wa...@byteserve.com.au] Sent: Sunday, April 08, 2018 5:40 PM To: TeraScript-Talk@terascript.com Subject:

RE: TeraScript-Talk: <@ELEMENTATTRIBUTE> is pink!

2018-04-09 Thread Robert Shubert
I think both the singular and plural forms of that tag will work. Sometimes TeraScribe doesn't know about tags that were added at certain times. -Original Message- From: Wayne Irvine [mailto:wa...@byteserve.com.au] Sent: Monday, April 09, 2018 1:38 AM To: TeraScript-Talk@terascript.com Su

Re: TeraScript-Talk: @DOM

2018-04-09 Thread Wayne Irvine
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 before the first line and after the last and parsed it successfully as XML. Works a treat. Wayne > On 10 Apr 2018, at 1:11