[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

attribute

Subject: attribute
From: "f.merle" <f.merle@xxxxxxxxxxxxxxxx>
Date: Wed, 05 May 1999 10:10:58 +0100
attribute
I want to create link with my xsl page. I have got an element CHAMP
which has
differents attributes. I would like to have on my screen GLOSSAIRE and
when I click
on it, I go to an url which link to phlo.xml (for the moment, I have on
the screen
the value of "VdkVgwKey" and the link to the phlo.xml). When I put in my

xsl value CHAMP[(@NAME="Titre")], I still link to phlo.xml !!!
thank you

Here is a part of my xml:
<CHAMP NAME="SCORE">0,77</CHAMP>
<CHAMP NAME="VdkVgwKey">phlo.xml</CHAMP>
<CHAMP NAME="Nom">FRED</CHAMP>
<CHAMP NAME="Prenom"></CHAMP>
<CHAMP NAME="Titre">GLOSSAIRE</CHAMP>

and here is the part of the xsl:

<xsl:template match='CHAMP[(@NAME="VdkVgwKey")]'>
    <A><xsl:attribute name="HREF"><xsl:value-of
match='CHAMP[(@NAME="VdkVgwKey")]'/></xsl:attribute>
  </A>
   <xsl:apply-templates/>
  </xsl:template>








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


Current Thread
  • attribute
    • f.merle - Wed, 05 May 1999 10:10:58 +0100 <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.