xsl-list
[Top] [All Lists]

RE: namespace conflict

2003-07-25 06:40:42
hehe the only list, I know of, where the people who answer the questions plead 
for more information !

cheers, jim

-----Original Message-----
From: Julian Reschke [mailto:julian(_dot_)reschke(_at_)gmx(_dot_)de]
Sent: 25 July 2003 14:26
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Cc: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] namespace conflict


Come on. Please post both complete input documents (including 
surrounding
namespace declarations) and complete XSLT code.

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

-----Original Message-----
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 2:08 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Cc: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com;
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] namespace conflict



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


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



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


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



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