|
Subject: attribute From: "f.merle" <f.merle@xxxxxxxxxxxxxxxx> Date: Wed, 05 May 1999 10:10:58 +0100 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| (pas d'objet), f.merle | Thread | href and template, f.merle |
| (pas d'objet), f.merle | Date | href and template, f.merle |
| Month |