July 13, 200619 yr I have a field that is a company's website, and I'm trying to figure out how to write XSLT code to turn it into a hyperlink. For example: This shows the web address as text and a URL, but the URL is http://mysite.com/fmi/xsl/browserecord.xsl/www.mylinkedsite.com Of course, I just want the URL to be http://www.mylinkedsite.com, but I can't seem to make it do that.
July 13, 200619 yr Author I figured it out, just in case anyone else needs it. I just changed the line to: http:// What truly mattered was the http://
July 15, 200619 yr The usage of fmxslt:break_encode() is wrong here. This function is used to generate HTML, not an URL. You need fmxslt:url_encode(). An alternative would be linktext
Create an account or sign in to comment