Hmm something went wrong with my mail client.

It should be like this:

<map:match pattern="*.pdf">
<map:generate src="cocoon:/baseinfo/getxmldata" />
<map:transform src="format/style/xsl/doc2pdf.xsl"/>
<map:serialize type="fo2pdf" />
</map:match>

without the link.

Hi,

you could use the internal cocoon protocol:

like

<map:match pattern="*.pdf">
<map:generate src=" <http://localhost:7001/baseinfo/getxmldata>cocoon:/baseinfo/getxmldata" />
<map:transform src="format/style/xsl/doc2pdf.xsl"/>
<map:serialize type="fo2pdf" />
</map:match>


in wich case the baseinfo/getxmldata is another matcher.

Greetz,

Jeroen


reza x schreef:


hi all
I want use sitemap to get the output stream from a servlet.
my sitemap.xml snippest now is like this:
<map:match pattern="*.pdf">
<map:generate src="http://localhost:7001/baseinfo/getxmldata"; />
<map:transform src="format/style/xsl/doc2pdf.xsl"/>
<map:serialize type="fo2pdf" />
</map:match>
getxmldata if for calling the servlet which produce the needed xml stream.
how can I ignore the http://localhost:7001. is there any key to replace it and make it portable and flexible.
thanks alot for your attention.
------------------------------------------------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster. <http://search.yahoo.com/?fr=ad-mailsig-home>




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




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



Reply via email to