cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
Subject RE: xsl question
Date Mon, 30 Sep 2002 12:50:40 GMT
> From: Piroumian Konstantin [mailto:KPiroumian@protek.com] 
> > From: Kavitha Ramesh [mailto:kavitha_fraunhofer@yahoo.com]
> 
> Please do not ask pure XSLT questions here. Take a look at 
> XSLT specific mail lists.
> 
> > 
> > Hi,
> > 
> > I have an xml file as follows:
> > 
> > <user>
> > <userid>100</userid>
> > </user>
> > 
> > My XSL file is as follows:
> > 
> > <xsl:template match="user">
> > <html>
> > </body>
> > 
> > <a href="/cocoon/hello?userid=100">Menu</a>
> 
> <a href="/cocoon/hello?userid={@userid}">Menu</a>

Sorry. It should be:

<a href="/cocoon/hello?userid={userid}">Menu</a>

KP

> 
> This should help.
> 
> Konstantin 
> 
> > 
> > </body>
> > </html>
> > </xsl:template>
> > 
> > 
> > Now my xsl file has a static URL.But I need a dynamic URL.Each and 
> > everytime when my userid changes in the xml file my 
> stylesheet should 
> > get the userid from the xml file.How should my stylesheet 
> look like in 
> > that case?If someoneknows please help me.
> > 
> > Kavitha.
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
> > 
> > 
> ---------------------------------------------------------------------
> > Please check that your question  has not already been 
> answered in the
> > FAQ before posting.     
> <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To 
> unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:   
> <cocoon-users-help@xml.apache.org>
> > 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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