|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl href usage
Hi all,
I am trying to reference a document in this xsl. Here is a part of the
code in the xsl:
<td><xsl:if test="leaf">
<a href="?leaf[1]/@xlink:href?">
<xsl:value-of select="leaf[1]/title"/>
</a>
</xsl:if>
</td>
Here is the element in the xml file:
<leaf operation="new" xlink:type="simple" xlink:href="study_1/Test.pdf">
<title>Study Report 1111 Protocol</title>
</leaf>
When I transformed the xml with xsl, the linking is not working
properly.
By clicking on it doesn't do anything and the
source output html looks something like this:
<a href="?leaf[1]/@xlink:href?">
but should be something like this below:
<a href="study_1/Test.pdf">
Suggestion?
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
|

Cart








