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: Re: DOCBOOK: Uniq values of "ID" attributes


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?


>May be usable adding element for use XPointer or XLink functionality ?
>
>>>2.
>>>It's possible to add <fallback> element within <xref> element ? And also for all idref's attributes?
>>I don't think so, but I'm not sure I understand.
>>Do you have an example?
>
>Sorry. In XInclude within element <xi:include> exist element <xi:fallback> for control errors of includes.

I will wait for someone else to answer that one!
I have tried olink, but not include.




>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.


regards DaveP.




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


Powered by eList eXpress LLC