RE: [xsl] namespace conflict

Subject: RE: [xsl] namespace conflict
From: sathish.kumar@xxxxxxxxxxxxx
Date: Fri, 25 Jul 2003 15:14:01 +0530
Hi Julian,
This doesnt not getting the href value passed to the JScript. I
tried the following:

<xsl:template match="leaf">
  <img src="util/style/doc.gif"/>
  <xsl:attribute name="href" >
     javascript:OpenMyWindow('<xsl:value-of xmlns:xlink=""; select="@xlink:href"/>');

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

what am i suppose to do now?

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: [xsl] namespace conflict                                                   
              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: [xsl] namespace conflict
> Hi,
> my xml document contains a node
> <leaf application-version="" version="" font-library="" operation="new"
> modified-file="" checksum="1dec6fbce6dfeb989f1b6dc2e865f639"
> ="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
> space ' xmlns="";' The current

No, you don't.

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

<xsl:value-of xmlns:xlink="";
select="leaf/@xlink:href" />

<green/>bytes GmbH -- -- tel:+492512807760

 XSL-List info and archive:

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:

Current Thread