cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: XInclude performance question?
Date Fri, 26 Sep 2003 08:42:18 GMT
On Thu, 2003-09-25 at 17:49, Doug Chestnut wrote:
> Hello,
> In the FAQ about XInclude and CInclude transformer
> (http://cocoon.apache.org/2.1/faq/faq-transformers.html#faq-N1001F)
> differences and similarities is this XInclude difference:
> 
>      -Allows you to use XPointer syntax (via '#' or XPointer() syntax)
> within href attribute. However, support of XPointer requires random access
> to the object model of XML document to be included. Thus, it is expensive to
> construct in runtime. If you are including a whole document, it's better to
> use CInclude which supports straightforward text inclusion.
> 
> Doesn't the XIncludeTransformer also support straightforward text inclusion?

yes it does.

> 
>      -Allows you to include text or xml content (via parse="text|xml").
> 
> With the XIncludeTransformer, do I always have the performance expense of
> the "random access to the object model of XML document to be included" even
> if I am not using XPointer, or if my parse="text"?

no.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message