cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject generator based including
Date Thu, 11 Jan 2001 14:06:14 GMT

<util:include-xsp uri="file:///something/included.xml"/>

Works quite well - as soon as the class representation
of "included.xml" is generated.
Can anyone think of a way to generate it automatically?
Also changes in "included.xml" need to be recognized.

Should this happen in the sitemap?

   <map:match pattern="including">
    <map:generate type="serverpages" src="included.xml" output="no"/>
    <map:generate type="serverpages" src="including.xml"/>
    <map:transform src="html.xsl"/>
    <map:serialize/>
   </map:match>

While playing around with the util:taglib and and the
idea of a generator based include mechanism I must
admit that (up to now) it feels a bit kludgy.

Maybe extending the xinclude transformer is the way
to go... Hm, don't know.
--
Torsten

Mime
View raw message