[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] I don't unterstand!
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|