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>
              <map:when test="special">
                 <map:transform src="stylesheets/special.xsl"/>
                 <map:serialize/>
              </map:when>
              <map:otherwise>
                 <map:transform src="stylesheets/default.xsl"/>
              </map:otherwise>
           </map:select>

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

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
matcher?

Thanks in advance.

ByeBye,
Paolo Scaffardi
AIRVENT SAM S.p.A.


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

Reply via email to