OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: DOCBOOK: Re: Uniq values of "ID" attributes

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:
for it be unique.


>>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:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC