OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] Alternatives to entities for referencing small substitutions


You could also use catalogs that point to two different entity files based on the target project passed in.

On Oct 18, 2016, at 4:24 PM, Paul Hoadley <paulh@logicsquad.net> wrote:

On 19 Oct 2016, at 2:44 AM, Thomas Schraitle <[email protected]> wrote:

This sounds like profiling in combination with entities.

You could define your foo entity like this:

<!ENTITY foo  "<phrase><phrase
   os='a'>Bar</phrase><phrase
   os='b'>Baz</phrase></phrase>">

The <phrase> element is quite neutral and is allowed where inline elements are
also allowed.

Thanks Thomas, that looks like the approach I need.


--
Paul Hoadley
http://logicsquad.net/




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Regards,

Cathy Riely















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