[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: namespace conflict

Subject: RE: namespace conflict
From: sathish.kumar@xxxxxxxxxxxxx
Date: Fri, 25 Jul 2003 17:37:51 +0530
download ectdviewer
Hi Julian,

      <xsl:attribute name="href" >
            javascript:OpenMyWindow('<xsl:value-of xmlns:xlink="
http://www.w3.org/1999/xlink" select="@xlink:href"/>');
      </xsl:attribute>

 The above code does not give the relevant xlink:href value. ive attached
the sample below...Kindly help me get the href value.

XML file :

<m2-common-technical-document-summaries>
<m2-2-introduction>
      <leaf application-version="" version="" font-library="" operation
="new" modified-file="" checksum="1dec6fbce6dfeb989f1b6dc2e865f639"
            checksum-type="md5" keywords="" xlink:type="simple" xml:lang
="en" xlink:href="m2/22-intro/eCTDViewer.pdf">
      <title>2.2 Introduction</title>
      </leaf>
</m2-2-introduction>
</m2-common-technical-document-summaries>
......

 XSL file:
======

<xsl:template match="leaf">
      <img src="util/style/doc.gif"/>
      <a>
      <xsl:attribute name="href" >
            javascript:OpenMyWindow('<xsl:value-of xmlns:xlink="
http://www.w3.org/1999/xlink" select="@xlink:href"/>');
      </xsl:attribute>
      <xsl:attribute name="target" >
            <xsl:value-of select="_blank"/>
      </xsl:attribute>
      <xsl:value-of select="title"/>
      </a><br/>
</xsl:template>



Regards.
-------------------------------------------------------------
Sathish Kumar
Accenture - Bangalore Delivery Centre
Phone: +91 080 5138 6024
MSNID: reach_satish33@xxxxxxxxxxx


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete the
original.  Any other use of the email by you is prohibited.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.