This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]