cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Márcio Ferreira <mferre...@telbit.pt>
Subject XSP with xsl
Date Tue, 25 May 2004 12:13:13 GMT
Hi,
I need to test in xsp file if something happens in xml passed in 
pipeline, what i need is like this:
<?xml version="1.0"?>
<xsp:page  language="java"  xmlns:xsp="http://apache.org/xsp"
                                          
xmlns:action="http://apache.org/cocoon/action/1.0"
                                         
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                                       
xmlns:xsp-request="http://apache.org/xsp/request/2.0">

  <page>
    <xsp:logic>
      if(<xsl:value-of select="execution/rowset/row"/>){
          <action:set-success/>
      }
      else
      {
        <action:set-failure/>
      }
    </xsp:logic>
  </page>
</xsp:page>
i need to test if execution/rowset/row exists in xml passed
it is possible.

Thanks



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


Mime
View raw message