W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Re: #:body.h2[5]

From: Dmitry Turin <html60@narod.ru>
Date: Fri, 18 May 2007 14:16:25 +0400
Message-ID: <10323916363.20070518141625@narod.ru>
To: public-html@w3.org

1) Let square brackets is used to specify serial number of html-element

  <a href="docname.htm#:body.h2[5]">text</a>

and braces is used to specify part of content of html-element
(if several elements contain specified sub-string, then first of them is found)

  <a href="docname.htm#:body.h2{part of header}">text</a>

Mixing is possible (idea of this section of letter)

  <a href="docname.htm#:body.h2{part of header}+h3[5]">text</a>

2) Let double-brace "{{", "}}" mean "{", "}" in content of html-element
(and only in content). I offer brace for duplication, because it is
used comparatively seldom.

So,
  h2{{{a}}}
means sub-string
  {a}
in content of h2, and
  h2{a{{{{b}}}}c}
means sub-string
  a{{b}}c


Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru
Received on Friday, 18 May 2007 12:54:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT