| 
 
Subject: concat From: "f.merle" <f.merle@xxxxxxxxxxxxxxxx> Date: Fri, 06 Aug 1999 13:58:13 +0100  | 
I didn't undestand how to use concat.
I would like to concat the href I want with VdkVgwKey.
for example: <CHAMP NAME="VdkVgwKey">phlo.xml</CHAMP>
                    <CHAMP NAME="Titre">GLOSSAIRE</CHAMP>
and my result is :<A
href="http://pc_merle/servlets/param?phlo.xml">glossaire</A>
I think that I have to declare an xsl:param and concat with my string???
The other problem is if I put at the beginnig: <xsl:stylesheet
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">, all the xml which was
printed on my screen dissapear !!!
here is my xsl :
<xsl:template match="DOCRESULT">
 <P><normal>
  Titre:  <xsl:apply-templates select="CHAMP[@NAME='VdkVgwKey']"/>
   <xsl:apply-templates select="CHAMP[@NAME='SCORE']"/>
 </normal></P>
 </xsl:template>
 <xsl:template match="CHAMP[(@NAME='VdkVgwKey')]">
 <A>
  <xsl:attribute name="href"><xsl:value-of
select="text()"/></xsl:attribute>
         <xsl:value-of select="../CHAMP[(@NAME='Titre')]"/>
 </A>
 </xsl:template>
 <xsl:template match="CHAMP[(@NAME='Titre')]">
 <normal>
  <xsl:value-of select="text()"/>
  </normal>
 </xsl:template>
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: XT implementation question, Jon Smirl | Thread | RE: concat, Mike Brown | 
| RE: default-ns of the result doc di, Vun Kannon, David | Date | Re: ifdefined test for variable, Jon Smirl | 
| Month |