[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: DocBook RNG Schema vs DTD + L10N
... In my previous email I forgot to mention that entity &legalnotice; was localized, meaning that the right "legalnotice.xml" file was included depending on the language specified in attribute "lang" of element "article"; <article id="CSharpCodingGuidelines" lang="&language;"> ... </article> The language to select was also an entity... Anyway, to handle the different languages, my customized DocBook DTD included the following: <!ENTITY % German "IGNORE"> <![%German; [ <!ENTITY % l10n.user PUBLIC "-//AGAMURA//ENTITIES QuXo Locale V1.0//de-DE" "http://www.agamura.com/quxo/dtd/1.0/ent/de-DE/locale.ent"> %l10n.user; <!ENTITY % l10n.default "IGNORE"> ]]> <!ENTITY % English "IGNORE"> <![%English; [ <!ENTITY % l10n.user PUBLIC "-//AGAMURA//ENTITIES QuXo Locale V1.0//en-US" "http://www.agamura.com/quxo/dtd/1.0/ent/en-US/locale.ent"> %l10n.user; <!ENTITY % l10n.default "IGNORE"> ]]> <!ENTITY % French "IGNORE"> <![%French; [ <!ENTITY % l10n.user PUBLIC "-//AGAMURA//ENTITIES QuXo Locale V1.0//fr-FR" "http://www.agamura.com/quxo/dtd/1.0/ent/fr-FR/locale.ent"> %l10n.user; <!ENTITY % l10n.default "IGNORE"> ]]> <!-- Default: English --> <!ENTITY % l10n.default "INCLUDE"> <![%l10n.default; [ <!ENTITY % l10n.user PUBLIC "-//AGAMURA//ENTITIES QuXo Locale V1.0//en-US" "http://www.agamura.com/quxo/dtd/1.0/ent/en-US/locale.ent"> %l10n.user; ]]> Is there a way to implement something similar with a customized DocBook RNG schema? Again, any help would be REALLY appreciated, j3d. ---------------------------------------- Giuseppe Greco Agamura Entertainments, Inc. 6928 Manno Switzerland call giuseppe.greco via Skype phone: +41 (0)91 604 67 65 mobile: +41 (0)79 590 33 06 email: giuseppe.greco@agamura.com ----------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]