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 [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
