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


Excellent use of catalogs. Never ceases to amaze me just how useful they are.

regards Dave P

On 18 October 2016 at 22:44, Cathy Riely <criely@apple.com> wrote:
> 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 <tom_schr@web.de> 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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> Regards,
>
> Cathy Riely
>
>
>
>
>
>
>
>
>
>
>
>
>



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk


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