[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl::number from current note

Subject: RE: xsl::number from current note
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 20 May 2004 22:25:14 +0100
xpathparserexception
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.