Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Dear all,
I'm new to Umbraco and XSLT. I would like to create a query string with multiple parameters. Could anyone help me with some sample code?
Kind regards,
A little difficult to know exactly what you mean, but one thing that almost always trips people up, is the basic XML rule of having to escape ampersand characters - to build a simple link from some variables or parameters, you could do this:
<xsl:variable name="idFromSomewhere" select="1280" /> <xsl:param name="pageFromElsewhere" select="'contacts'" /> <a href="http://www.server.com/page?id={$idFromSomewhere}&page={$pageFromElsewhere}">Click Me!</a>
If that's not enough to get you started, feel free to ask again.
/Chriztian
That is exactly what I needed!
Thanks
@Bas, plus one karma for marking the solution!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to create a query string with multiple parameters in XSLT
Dear all,
I'm new to Umbraco and XSLT. I would like to create a query string with multiple parameters. Could anyone help me with some sample code?
Kind regards,
A little difficult to know exactly what you mean, but one thing that almost always trips people up, is the basic XML rule of having to escape ampersand characters - to build a simple link from some variables or parameters, you could do this:
If that's not enough to get you started, feel free to ask again.
/Chriztian
That is exactly what I needed!
Thanks
@Bas, plus one karma for marking the solution!
is working on a reply...