Stephen Ng wrote:
The Cocoon developers recommend to use aggregation or xinclude because of SoC (XSLT is for transforming, not for aggregating content).
Sure, but I have a big lookup table in an xml file--it seems much more
natural to reference the lookup table from xslt using document rather
than to jam it into my content stream....
I don't mind this, slug it out with the list gurus.
I personally like document() too for certain purposes, one
being lookup tables, another one being importing boilerplate
determined dynamically by input XML data. In Cocoon, the
latter requires a three stage pipeline: transformation into
an intermediate XML with XIncludes, the XInclude step, the
final transformation.
Unfortunately, the cache issue and the 2.0.2 problem with
getting null resolvers which may or may be not fully fixed
in 2.0.3 prevents using document() for many sensible
applications.

J.Pietschmann


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to