Subject: Re: [xsl] How to make a request to a same file to generate different content From: IceT <icetbr@xxxxxxxxxxxx> Date: Sat, 28 Aug 2004 14:09:37 -0300 |
<xsl:variable name="current" select="/"/> <xsl:choose> <xsl:when test="current/* = 'members'> ... </xsl:when> <xsl:when test="current/* = 'members_new'"> ... </xsl:when> <xsl:when test="current/* = 'members_old'"> ... </xsl:when> </xsl:choose>
Hi,
I have a menu bar with a few links. When I click on one of them, a xml file is called with its own stylesheet. Then appears a submenu relative to that menu item. When one os those subMenuItens are clicked, the same xml file is used to generate a different output:
College members (url = members.xml) old members (url = members.xml) new members (url = members.xml) College buildings (url = buildings .xml)
How can I do this? Using Cocoon I can create an elaborated request and then use it to select a suitable pipeline:
College members (url = members.xml) old members (url = members.xml:old) new members (url = members.xml:new) College buildings (url = buildings .xml)
How would I accomplish this using only xml/xsl ?
You don't with XSLT. Consult Cocoon users-list.
Cheers,
Jarno - Madam Zu: September 2002 Mix
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to make a request to , Jarno.Elovirta | Thread | Re: [xsl] How to make a request to , cking |
Re: [xsl] grouping and context (?), Bruce D'Arcus | Date | [xsl] find out if my parent is the , Jan Limpens |
Month |