I really want to use <map:redirect-to> but my URL is in the XML of the pipeline and I can't get it into a sitemap parameter:
<map:match pattern="link/id*">
<map:generate src="content/table_names.xml"/>
<map:transform src="directory/format_link_query.xsl" type="xslt">
<map:parameter name="link_id" value="{1}"/>
</map:transform>
<map:transform type="sql"/>
<!-- Missing link to get url from xml and make into sitemap parameter -->
<map:redirect-to uri="{take_me_here}"/>
</map:match>
Actions can't seem to read or transform the pipeline xml, they can only read and act on request parameters. XSLT transformers can't create sitemap parameters. So I'm a bit stuck. Can anyone fill in the gap?
Thanks,
Neil.
On Saturday, November 9, 2002, at 03:23 AM, Artur Bialecki wrote:
Who should close the <head/> element? The transformer can not send an endElement() until everything inside is processed. Of course you havetoOfcourse, I don't know what I was thinking.Does this make it a bit clearer? Everybody can of course improve myThis makes it very clear. Thanks Joerg, Artur... --------------------------------------------------------------------- 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]>
--------------------------------------------------------------------- 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]>