cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: separate logic
Date Tue, 11 Jul 2000 10:04:21 GMT
> What's the best way to do that?
> Maybe the XInclude processor again!?
> (I'm getting really confused about this
>  including topic..)

Yes, there are so many options and no single option does it all :-)

Here's a flowchart of sorts:

Q: Do you need to include parts of XML files, selectable with XPath?
A: XInclude processor

Q: Do you need to include straight text, possibly invalid XML?
A: util:include-text (XSP taglib)

Q: Do you need to include a stylesheet into another stylesheet?
A: xsl:include and xsl:import (see XSLT spec)

Q: Do you need to include XML after an XSP pass?
A: util:include-uri and util:include-file (XSP taglib)

Q: Do you need to include lots of entities?
A: DTD entity inclusion mechanism

Q: Do you need to include something into an XSP page, but don't want it
to be compiled?
A: Jeremy Quinn's upcoming taglib

Did I forget anything?

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Mime
View raw message