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] 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

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