[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to call a href?
From: Robert Barta <rho@xxxxxxxxxxxx> > Hmmm, any ideas how to escape the blank (or other special chars) to have > a decent URI? You need to use URLEncoder with a java extension function.... <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" xmlns:url="http://www.jclark.com/xt/java/java.net.URLEncoder" xmlns="http://www.w3.org/TR/REC-html40" result-ns=""> <xsl:if test="extension-function-available('url:encode')"> <a href="component.xml?name={url:encode(.)}"> <xsl:value-of select="."/> </a> </xsl:if> Jon Smirl jonsmirl@xxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|