> From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]] 

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>

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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to