|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
hi,
i'got through the installation of apache/tomcat/cocoon on win2000. i woul'd like to pass a variable called 'page' in the url (.../xyz.xml?page=1) and call this in the associated xsl-stylesheet. as far i know, in php this is done by call it within the code as '$page'. can anyone help me out of this? frank |
|
#2
|
|||
|
|||
|
have a look:
part of file 1: <xsl:when test="not($para_land='')"> <xsl:for-each select="film[land=$para_land]"> <xsl:sort select="titel"/> <option> <xsl:attribute name="value">archiv.xml?para_test=<xsl:value-of select="titel"/> -> parameter </xsl:attribute> <xsl:value-of select="titel"/> </option> <br/> </xsl:for-each> </xsl:when> part of file 2(just an example..to check a parameter): <h2 align="center"><a name="inhalt"></a> <xsl:choose> <xsl:when test="not($para_jahr='')"> Jahr<br/> <xsl:value-of select='$para_jahr'/> </xsl:when> <xsl:when test="not($para_land='')"> Land<br/> <xsl:value-of select='$para_land'/> </xsl:when> <xsl:when test="not($para_regie='')"> Regie<br/> <xsl:value-of select='$para_regie'/> </xsl:when> <xsl:when test="not($para_darsteller='')"> Darsteller<br/> <xsl:value-of select='$para_darsteller'/> </xsl:when> <xsl:when test="not($para_genre='')"> Genre<br/> <xsl:value-of select='$para_genre'/> </xsl:when> </xsl:choose> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Cocoon/XML/xyz.xml?page=1 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|