Jean Jordaan wrote:
> 
> When I want to refer to a document's title more than once, I
> 'xi:include' the phrase in the glossary more than once. 

We do that all the time in our own documents.

> However, this
> breaks during parsing with 'xmllint' because now I have non-unique ids::
> 
>     <title>
>         <phrase id="administrators_manual_title">Administrator's 
> Manual</phrase>
>     </title>
>     <bookinfo>
>     <title>
>         <phrase id="administrators_manual_title">Administrator's 
> Manual</phrase>
>     </title>
> 
> How does one get around this?

There is no way to solve this problem. Just ignore the warnings about 
non-unique ids.

Note that xmlmint should not stop parsing just because it finds 
non-unique ids. May be there's a flag which turns this annoying behavior 
off. (For example, FOP 0.94 has such flag: strict-validation=false.)



Reply via email to