[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 15:14:01 +0530
sathish kumar
Hi Julian,
This doesnt work...im not getting the href value passed to the JScript. I
tried the following:

<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/TR/WD-xsl" select="@xlink:href"/>');
  </xsl:attribute>

This is not fetching the value of the xlink:href attribute :-(

what am i suppose to do now?

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


                                                                                                                                                 
              "Julian Reschke"                                                                                                                   
              <julian.reschke@xxxxxx>                    To:      <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>                                              
              Sent by:                                   cc:                                                                                     
              owner-xsl-list@xxxxxxxxxxxxxxxxxxx         Subject: RE:  namespace conflict                                                   
              com                                                                                                                                
                                                                                                                                                 
                                                                                                                                                 
              07/25/2003 11:48 AM                                                                                                                
              Please respond to xsl-list                                                                                                         
                                                                                                                                                 
                                                                                                                                                 



> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> sathish.kumar@xxxxxxxxxxxxx
> Sent: Friday, July 25, 2003 6:33 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  namespace conflict
>
>
>
> Hi,
>
> my xml document contains a node
>
> <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/24-nonclin-over/nonclinical-overview.pdf">
>
> To retrieve the value of the attribute "xlink:href" I need to use the
name
> space ' xmlns="http://www.w3.org/TR/WD-xsl"' The current

No, you don't.

> version namespace does not support this kind of attribute. How am  i
suppose
> to get the value of the attribute?

<xsl:value-of xmlns:xlink="http://www.w3.org/1999/xlink"
select="leaf/@xlink:href" />


--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


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






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.