xsl-list
[Top] [All Lists]

RE: namespace conflict

2003-07-24 23:18:26
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



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