Subject: [xsl] get content tab ? From: Hong-Thai.Nguyen@xxxxxxx Date: Mon, 2 May 2005 11:40:58 +0200 |
Code XSLT: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="text"/> <xsl:param name="typeElement" select="/"/> <xsl:template name="typeVar" match="Var"> <xsl:value-of select="./WICALE"/> == ( <xsl:for-each select="//Val | //Entier | //AliasVar"> <xsl:if test="position() = last()"> <xsl:value-of select="./@valeur"/> </xsl:if> <xsl:if test="position() != last()"> <xsl:value-of select="./@valeur"/>, </xsl:if> </xsl:for-each>). </xsl:template> </xsl:stylesheet>
And the format out wanted: <a name="DecVar.DeclVar.Deco.Var.AUX">AUX</a> == (ETRE,AVOIR).
But it look like: <a name="DecVar.DeclVar.Deco.Var.AUX">AUX</a> 1 versionID == ( ETRE, AVOIR). So, can you help me correct it ? And, is there any tip to handle CRLF ? Thanks
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] basic question about xala, NGUYEN Hong Thai | Thread | Re: [xsl] get content tab ?, omprakash . v |
Re: [xsl] basic question about xala, NGUYEN Hong Thai | Date | [xsl] Outputting HTML elements with, Marco Mastrocinque |
Month |