Re: #:body.h2[5]

http://www.w3.org/TR/xptr/

Dmitry Turin schrieb:
> 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 13:35:05 UTC