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?


Dave Pawson wrote:

> Not speaking from experience.
> 
> If an xinclude aware processor is used, 
> could that stand in for XML entities Jirka?

Yep, you can use something like

<xi:include href="entities.xml#productname"/>

to pull element from external file entities.xml:

<root>
   <phrase xml:id="productname">SuperSoft v3.5</phrase>
   ...
</root>

But as you can see XInclude is quite verbose in this case and I'm not 
sure whether XXE can deal with such XIncludes.

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------

S/MIME Cryptographic Signature



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