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

From
Paul Hoadley <>
Date
2016-10-18T21:25:06+00:00
ID
Thread
Re: [docbook-apps] Alternatives to entities for referencing small substitutions
On 19 Oct 2016, at 2:44 AM, Thomas Schraitle <> 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/