Subject: RE: [xsl] namespace conflict From: "Julian Reschke" <julian.reschke@xxxxxx> Date: Fri, 25 Jul 2003 12:04:18 +0200 |
For a start, you could try what I suggested: <xsl:value-of xmlns:xlink="http://www.w3.org/1999/xlink" select="leaf/@xlink:href" /> (check the namespace name). -- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760 > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of > sathish.kumar@xxxxxxxxxxxxx > Sent: Friday, July 25, 2003 11:44 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: [xsl] namespace conflict > > > > 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: [xsl] 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: [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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] namespace conflict, sathish . kumar | Thread | RE: [xsl] namespace conflict, sathish . kumar |
[xsl] Controlling tabular layout of, John Marshall | Date | RE: [xsl] namespace conflict, sathish . kumar |
Month |