|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl::number from current note
The from attribute must be an XSLT pattern (not an XPath expression), and "." is not a legal pattern. I haven't come across any plausible reason why anyone would want to use the "from" attribute of xsl:number with level="single". What are you trying to achieve? Michael Kay > -----Original Message----- > From: Ming Yu [mailto:myu@xxxxxxxx] > Sent: 20 May 2004 19:11 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: xsl::number from current note > > Hi, > > Do you know what's the difference between > <xsl:number level="single" from="*" count="SEC" format="1. "/> > and > <xsl:number level="single" from="." count="SEC" format="1. "/> > > The second one sometimes does not work by giving error message: > > XSLException Type is: XPathParserException > Message is: Expected node test. > pattern = '.' > Remaining tokens: ('.') > > Thanks in advance. > > Ming
|
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
|

Cart








