cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chitharanjan Das" <c...@accordiasys.com>
Subject RE: cocoon
Date Thu, 24 Jan 2002 19:00:38 GMT
Try the following

<map:match pattern="eBiz/*">
    <map:generate
src="http://lanester:80/tamino/execLog?_xql=//wes:HISTORY[@ino:id={1}]"/
>
    <map:transform src="eBizMonitor/journalFR.xsl"/>
    <map:serialize type="html"/>
   </map:match>

The pattern will have to be modified to indicate eBiz/{id}. This will
result in the src for the generator to be
http://lanester:80/tamino/execLog?_xql=//wes:HISTORY[@ino:id={id}]


Hope this helps,
Chiths






-----Original Message-----
From: GIQUEL Magali [mailto:m.giquel@webedisoft.com] 
Sent: Thursday, January 24, 2002 3:38 AM
To: cocoon-users@xml.apache.org
Subject: cocoon

Hi,
I use tomcat4.0 and cocoon 2,
after a click on a jsp page, i send a request on tamino which returns an
xml
document.
My probem is that the URI I want to access is included in the sitemap
and
this uri has got parameters (id). These parameters come from hyperlinks
on a
jsp page.
I don't known how to send these parameters from the jsp file to the
sitemap.

 <map:match pattern="eBiz.html">
    <map:generate
src="http://lanester:80/tamino/execLog?_xql=//wes:HISTORY[@ino:id={id}]"
/>
    <map:transform src="eBizMonitor/journalFR.xsl"/>
    <map:serialize type="html"/>
   </map:match>
magali




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message