Dave Pawson wrote:
> At 08:06 28/07/2002, Vitaly Ostanin wrote:
> 
> 
>>>>It's possible to do common attribute "id" uniq not for all document, in some 
>levels only ?
>>>
>>>No, the id values must be unique to the whole document you are parsing.
>>
>>Then authors of modular documents must to use long name values for id's. And this 
>names will depend of document's structure :( Ok.
> 
> Having seen what docbook stuff uses, I steal those ideas.
> E.g. a chapter on subject pages,
> <chapter id='pgs'>
>    then
> 
>   <example id='pgs.ex.1'>
> 
> etc, 
> 
> so the names relate to the subject?

Yes, but for separated documents we must to use:
id="full.path.with.sub.parts.of.set.document-name.pgs.ex.1"
for it be unique.

<skipped>

>>In DocBook DTD "idref" attributes point to "id" which must exist, right?
> 
> Yes, at parse time.
> 
>>It's possible to add element, which will control situation when "id" not exist in 
>current edition ? "id" may be visible after join of documents.
> 
> No. Its an error if the id does not exist at parse time.
> 
> Perhaps olink would help.
> http://www.sagehill.net/OlinkExtended.html
> may give you some help.

Thanks, I'm already trying to use olink.

> regards DaveP.

-- 
Regards, Vyt
mailto:  [EMAIL PROTECTED]
JID:     [EMAIL PROTECTED]

Reply via email to