cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paolo" <>
Subject XML selector
Date Thu, 06 Sep 2001 07:49:55 GMT
Hi there! I'm a newbie here and i wish to ask you a simple question: i
need to write an XML selector that does something like this:

	<map:match pattern="*">
 	   <map:generate type="serverpages" src="db.xsp"/>

	   <map:select type="xml" node="/test/test2/flag">
	      <!-- you could insert parameters here as well -->
	      <map:when test="normal">
   	         <map:transform src="stylesheets/normal.xsl"/>
	      <map:when test="special">
   	         <map:transform src="stylesheets/special.xsl"/>
   	         <map:transform src="stylesheets/default.xsl"/>

   	   <map:transform src="stylesheets/dynamic-page2html.xsl"/>

But I still not know perfectly how XML stream in handled inside a
pipeline. So, how can I access the XML input stream from a selector or a

Thanks in advance.

Paolo Scaffardi

To unsubscribe, e-mail:
For additional commands, email:

View raw message