This is the mail archive of the davenport@berkshire.net mailing list for the Davenport project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DAVENPORT: Maintaing documents for multiple languages


Norm Walsh wrote:

[...]

> And here we see a good example of the one thing you can't do (easily)
> with attributes:
> 
> <article>
>  <title>...</title>
>  <subtitle lang="fr">
>  Guide d'utilisation et de configuration des produits HP sous Linux
>  </subtitle>
>  <subtitle lang="en">
>  Guide d'utilisation et de configuration des produits HP sous Linux
>  </subtitle>
> 
> You can't have two subtitles, so this won't validate. Sigh. Damned if you
> do, damned if you don't.
> 

Right, but you can certainly do:

<article>
<title><phrase lang="fr">Something or other in French</phrase>
<phrase lang="en">Something or other in English</phrase>
</title>
...
</article>

[...]
> 
>                                         Cheers,
>                                           norm
> 
> -- 
> Norman Walsh <ndw@nwalsh.com>      | Anything more than the truth would
> http://www.oasis-open.org/docbook/ | be too much.--Robert Frost
> Member, DocBook Editorial Board    | 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]