This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: I don't unterstand!



  <xsl:format-number($mandant,"00000000")/> is your problem (there is no
  such xsl element as format-number).

  Try:

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

  Though I'll admit that "can't find an attribute name" is slightly
  unhelpful as an error message...

note the error message would be generated by the xml parser not the xsl
system. In particular before it was known there was no such element as xsl:format.

After  <xsl:format-number a well formed document will have optional white
space then must either 
 have a > to end the start tag 
or
 have an attribute name followed by = and a quoted value.

As the next character isn't > it looks for an attribute name and instead
finds a ( so complains it can't find a name.

David



_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]