I did something alike whith XSP...
<map:match pattern="*">
<map:generate type="serverpages" src="cocoon://pages/{1}"/>
<map:transform type="..."/>
</map:match><map:match pattern="pages/*">
<map:generate type="serverpages" src="toc.xml">
<map:parameter name="pageAsked" value="{1}"/> </map:generate>
<map:trasnform whatever..../>
<map:serialize type="xml"/>
</map:match>
It was cool, having all the site in a Table of content file, but it was too slow, there wasnt any caching.. With JXTemplates it should be easier, beacuse you can parse the template with a transformer at the end of the pipeline.
Hope it helps.
Mark Lundquist wrote:
Hi Jeremy,
On Feb 20, 2005, at 3:43 PM, Jeremy Nelson wrote:
Hi,
I am trying to use jx templates to control the flow of a WebApp.
To control the flow of the WebApp? How do you mean?
What I want to do is from a source XML document (in this case hr_resume.xml) transform it into an intermediary HTML page that includes jx processing.
OK...
Is this possible?
I'm not sure... but in any case, it sounds kind of... well, wrong :-)!
Are you trying to generate one JX template from another JX template?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
