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

On Mon, Jul 29, 2002 at 11:13:37AM +0400, Vitaly Ostanin wrote:
> Bob Stayton wrote:
>  > On Sun, Jul 28, 2002 at 07:06:26PM +0400, Vitaly Ostanin wrote:
> <skipped>
>  > applies.  Do you mean you want xref to be able to declare
>  > some fallback text if the generated text is not available?
> Yes, but not generated text - if target 'id' not available.
>  >>In DocBook DTD "idref" attributes point to "id" which must exist,
>  >>right? 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.
>  >
>  > That's true, and you don't find out until you vaildate the
>  > joined document.  I don't know of another tool that can check
>  > across includes or system entities for ID/IDREFs.
> I need fallback element for xref to stop errors when target 'id' 
> not available (when I edit separated document). After join of 
> document all 'id' must be available.

You get the error message when you edit the separated
document?  That's an editor issue, not a stylesheet issue.
> May be to add parameter to stylesheets, which will control errors 
> for not available id's ?

You can also replace <xref> and <link> with <olink> for
links within a document.  That enables you to treat
them as separate modules, and you won't get ID/IDREF
errors when editing.


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

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

Powered by eList eXpress LLC