xsl-list
[Top] [All Lists]

RE: namespace conflict

2003-07-25 02:44:01

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(_at_)hotmail(_dot_)com


                                                                                
                                                                 
              "Julian Reschke"                                                  
                                                                 
              <julian(_dot_)reschke(_at_)gmx(_dot_)de>                    To:   
   <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>                           
                   
              Sent by:                                   cc:                    
                                                                 
              owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)         
Subject: RE: [xsl] namespace conflict                                           
        
              com                                                               
                                                                 
                                                                                
                                                                 
                                                                                
                                                                 
              07/25/2003 11:48 AM                                               
                                                                 
              Please respond to xsl-list                                        
                                                                 
                                                                                
                                                                 
                                                                                
                                                                 



From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of
sathish(_dot_)kumar(_at_)accenture(_dot_)com
Sent: Friday, July 25, 2003 6:33 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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



<Prev in Thread] Current Thread [Next in Thread>