This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: new user xslt
- From: CHAOUI Hassan <HCHAOUI at unedic dot fr>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 26 Apr 2002 11:24:21 +0200
- Subject: RE: [xsl] new user xslt
- Reply-to: xsl-list at lists dot mulberrytech dot com
Thank's Michael,
When I apply the template, I have tags with white space, and the xml parser
refuse that.
How can I do to have proprely xml tags :
<xsl:template match="row">
<xsl:element name="{cell[1]}">
<xsl:value-of select="cell[2]"/>
</xsl:element>
</xsl:template>
result :
<table>
<
x1
>
y1
</
x1
>
<
x2
>
y2
</
x2
>
</table>
+----------------------------------------------------------------+
| Ce courrier ainsi que les fichiers joints sont confidentiels. |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du systeme : exp-iris@unedic.fr |
| --------- |
| Ce message confirme que le courrier a passe le controle |
| antivirus du relais de messagerie Internet avec succes. |
+----------------------------------------------------------------+
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list