Subject: [xsl] I don't unterstand! From: Auguste Oumar <oumar_a@xxxxxxxx> Date: Mon, 10 Sep 2001 19:09:15 +0200 (CEST) |
Hi everybody, can someone please tell me why the xalan xslt-processor is looking for an attribute name in the file below? I don't understand it! Thanks for help. Here is the xslt-file: <?xml version="1.0" encoding="ISO8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:AMD="http://www.Artikelstammdaten.org" xmlns="http://www.w3.org/TR/REC-html40"> <xsl:output method="text"/> <xsl:strip-space elements="*"/> <xsl:template match="/"> <h2><xsl:text>ArticleStammDaten</xsl:text></h2> <xsl:text>
</xsl:text> <xsl:apply-templates/> </xsl:template> <xsl:template match="AMD:articleMasterData"> <xsl:apply-templates/> </xsl:template> <xsl:template match="AMD:telegramNumber"> <xsl:value-of select="."/></xsl:template> <xsl:template match="AMD:client"> <xsl:variable name="mandant" select="."/> <xsl:format-number($mandant,"00000000")/></xsl:template> <xsl:template match="AMD:articleNumber"> <xsl:variable name="arNbr" select="."/> <xsl:substring(concat($arNbr," "),1,20)/></xsl:template> <xsl:template match="AMD:itemCode"> <xsl:variable name="iCode" select="."/> <xsl:substring(concat($iCode," "),1,30)/></xsl:template> <xsl:template match="AMD:itemCode2"> <xsl:variable name="iCode2" select="."/> <xsl:substring(concat($iCode2," "),1,50)/></xsl:template> <xsl:template match="AMD:quantityPerPackingUnit"> <xsl:variable name="qppu" select="."/> <xsl:format-number($qppu,"00000000")/></xsl:template> <xsl:template match="AMD:QPPU-Modus"> <xsl:value-of select="."/></xsl:template> <xsl:template match="AMD:batchMode"> <xsl:value-of select="."/></xsl:template> <xsl:template match="AMD:quantityUnit"> <xsl:variable name="qUnit" select="."/> <xsl:substring(concat($qUnit," "),1,2)/></xsl:template> <xsl:template match="AMD:deliveryReferenz"> <xsl:variable name="dRef" select="."/> <xsl:substring(concat($dRef," "),1,8)/></xsl:template> <xsl:template match="AMD:price"> <xsl:variable name="prix" select="."/> <xsl:format-number($prix,"00000000")/></xsl:template> <xsl:template match="AMD:weight"> <xsl:variable name="poids" select="."/> <xsl:format-number($poids,"00000000")/></xsl:template> <xsl:template match="AMD:height"> <xsl:variable name="haut" select="."/> <xsl:format-number($haut,"00000000")/></xsl:template> <xsl:template match="AMD:width"> <xsl:variable name="largeur" select="."/> <xsl:format-number($largeur,"00000000")/></xsl:template> <xsl:template match="AMD:depth"> <xsl:variable name="profondeur" select="."/> <xsl:format-number($profondeur,"00000000")/></xsl:template> <xsl:template match="AMD:bestBeforeDate"> <xsl:variable name="bbDate" select="."/> <xsl:format-number($prix,"0000")/></xsl:template> <xsl:template match="AMD:pickingSequence"> <xsl:variable name="pseq" select="."/> <xsl:format-number($pseq,"00")/></xsl:template> <xsl:template match="AMD:actionCode"> <xsl:value-of select="."/></xsl:template> </xsl:stylesheet> __________________________________________________________________ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to form correct struc, Chris Bayes | Thread | RE: [xsl] I don't unterstand!, Michael Kay |
[xsl] How to form correct structure, David O Baldwin | Date | RE: [xsl] I don't unterstand!, Ben Robb |
Month |