RE: [xsl] I don't unterstand!

Subject: RE: [xsl] I don't unterstand!
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 10 Sep 2001 21:17:03 +0100
> 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:
>
<xsl:format-number($mandant,"00000000")/>

That's not valid XML. format-number is not an XSLT instruction, it is an
XPath function that can be used inside an XPath expression, typically:

<xsl:value-of select="format-number($mandant,'00000000')"/>

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread