This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Alternative to entities?
>>>>> "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