Louis.Strous at consul.com wrote:
> That text implies that one can always reasonably work around this
> limitation, but I disagree. This limitation does seem severe for entities
> that stand for short fixed text that gets used a lot and that must be
> changed after some period of time, such as "&productversion;" to refer to
> the version of the product described in the document. As far as I can
> tell, none of the mitigating factors mentioned above can be used in this
> case.
You can use XInclude for this purpose. Using XInclude + XPointer you can
include just small fragments of XML not the whole referenced file. It is
also possible to solve this problem on XSLT level. For example, in your
document you can write <replace>productversion</replace> and then write
simple XSLT which will replace such element with a proper value for
productversion.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka at 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/
------------------------------------------------------------------
Nejbli??? term?ny ?kolen?:
** XML pro v?voj??e 19.-22.3.2007 ** XML sch?mata 16.-18.4.2007 **
** XSL-FO 15.-16.5.2007 ** DocBook 26.-28.6.2007 **
------------------------------------------------------------------
http://xmlguru.cz Blog mostly about XML for English readers
------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20061211/2ddef045/attachment.sig