cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Grunditz <niklas.grund...@infosim.com>
Subject xsl:variable
Date Fri, 25 May 2001 16:38:08 GMT
Hi, I have a question about xsl:variables. 
I use the following:

<xsl:template match="userpass">
<xsp:logic>
  <xsp:content>
     <list title="user-details">
       <element name="uname"><xsp:expr>user</xsp:expr></element>
       <element name="passw"><xsp:expr>pwd</xsp:expr></element>
     </list>
    </xsp:content>
</xsp:logic>
</xsl:template>

to declare the variables, and:

<xsl:template match="userpass">
 <xsl:variable name="action"><xsl:value-of select="."/></xsl:variable>
  <xsl:copy/>
   <xsl:apply-templates/>   
</xsl:template>

to try to get a hold of them but I cant get it to work. 

I would be very glad whith help on this.

/Niklas


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