Subject: [xsl] transform a link From: yan bai <bytj@xxxxxxxxx> Date: Thu, 15 Nov 2001 13:58:00 -0800 (PST) |
Hi, Gurus, I am trying to transform an xml to a html file. My problem is when the transformation is done, a report_1.htm is created at www.mydomain.com/test/reports/summary/report_1.htm The report_1.htm has a link to a detail_1.htm which is located at www.mydomain.com/test/details/invoice/detail_1.htm In the xsl file, I use the following trick: <xsl:variable name="link"> ../../details/invoice/detail_1.htm </xsl:variable> <a> <xsl:attribute name="href"> <xsl:value-of select="$link"/> </xsl:attribute> <xsl:value-of select="link_title"/> </a> However, in the final report_1.htm, I found the link actually looks like: %0A%09%09%09%09%09%09../../details/invoice/detail_1.htm If I click this link, the URL will go to: www.mydomain.com/test/reports/summary/details/invoice/detail_1.htm, and the correct page will be displayed. Any idea on how to correct it? Thanks so much. Yan __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Arrays in XSL, David Carlisle | Thread | Re: [xsl] transform a link, Jörg Heinicke |
[xsl] following-sibling in for-each, Christopher Eckert | Date | Re: [xsl] fo:block keep-together, Max Froumentin |
Month |