I'm a total newbie in xsl so I'm not even sure this is possible. This code is for building a menu that does a postback to the same page so that ITEMNMBR can be picked up from the query string and added to a grid when building an order. There are special characters in some of the item numbers.I have the following code and need to encode the ITEMNMBR part of this URL so that when the hyperlink is selected, nothing blows up.\[code\]<xsl:for-each select="MenuItem"> <li><a href="http://stackoverflow.com/questions/15705646/OrderEntry.aspx?ITEMNMBR={ITEMNMBR}"><xsl:value-of select="ITEMNMBR"/></a></li> <!-- Inventory items --> <!-- need only encode itemnmbr --></xsl:for-each>\[/code\]Am I headed down the right path with how I'm attempting to do this? And could someone point me in the right direction as to how to get this encoded? Thanks in advance for any help!