Hi,
how can I define a parameter from an xml.

lets say I query  a database which delivers me a firstname an a lastname, so I 
would get.
<xml>
  <firstname>alex</firstname>
 <lastname>foo</lastname>
</xml>

How do I set this names as parameters (global or locally in a sitemap) so I 
could use it like

<map:match pattern="insertSQL">
   <map:generate type="jx" src="jx/insertArtistTrackSQL.jx">
     <map:parameter name="firstname" value="cocoon.parameters.firstname"/>
     <map:parameter name="lastname" value="cocoon.parameters.lastname"/>
   </map:generate>
 <map:serialize type="xml" />
 </map:match>

thanx


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

Reply via email to