concat

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
  • concat
    • f.merle - Fri, 06 Aug 1999 13:58:13 +0100 <=
      • <Possible follow-ups>
      • Mike Brown - Fri, 6 Aug 1999 11:13:55 -0600
        • f.merle - Mon, 09 Aug 1999 09:00:07 +0100