W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > June 1997

Re: Subelement addressing

From: Martin Bryan <mtbryan@sgml.u-net.com>
Date: Wed, 18 Jun 1997 08:22:21 +0100
Message-Id: <>
To: Tim Bray <tbray@textuality.com>, w3c-sgml-wg@w3.org
At 16:10 17/6/97 -0700, Tim Bray wrote:

>which would denote a location at the 8th character following the beginning
>of the 7th match to the literal LITERAL. 
>Comments?  The ERB kind of likes this. -Tim

I like it very much too, but am a bit puzzled by the order of the 7 and 8
without the formal model. The text suggests that the more natural form mght
be TRING(8,7,"Literal") so that the number of occurrences of the literal is
always retained next to the literal itself. Alternatively you could say
STRING("literal",7,8) to  make it more obvious what order you do things.
("Look for "literal" 7 times and then move on 8 characters".) 
Martin Bryan, 29 Oldbury Orchard, Churchdown, Glos. GL3 2PU, UK 
Phone/Fax: +44 1452 714029  E-mail: mtbryan@sgml.u-net.com 
For details about The SGML Centre contact http://www.sgml.u-net.com/
For details about the Open Information Interchange initiative contact
Received on Wednesday, 18 June 1997 03:22:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:10 UTC