From: Colin Paul Adams <colin@colina.demon.co.uk>
To: Jirka Kosek <jirka@kosek.cz>
CC: davep@dpawson.co.uk, Gurra Green <gurra_green@hotmail.com>,
Docbook-Apps <docbook-apps@lists.oasis-open.org>
Subject: Re: [docbook-apps] Alternative to entities?
Date: 17 Jan 2005 19:20:17 +0000
>>>>> "Jirka" == Jirka Kosek <jirka@kosek.cz> writes:
Jirka> Dave Pawson wrote:
>> Not speaking from experience. If an xinclude aware processor
>> is used, could that stand in for XML entities Jirka?
Jirka> Yep, you can use something like
Jirka> <xi:include href="entities.xml#productname"/>
Jirka> to pull element from external file entities.xml:
Jirka> <root> <phrase xml:id="productname">SuperSoft v3.5</phrase>
Jirka> ... </root>
What about using one <xi:include href="...." parse="text"/> element for
each phrase to
be substituted (with a different URL for each constant text phrase)?
--
Colin Paul Adams
Preston Lancashire