Re: [docbook-apps] Alternative to entities?

From
Colin Paul Adams <>
Date
2005-01-17T19:20:24+00:00
ID
Thread
Re: [docbook-apps] Alternative to entities?
>>>>> "Jirka" == Jirka Kosek <> 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