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

AW: XSLT 2.0 - for-each with number intervals

Subject: AW: XSLT 2.0 - for-each with number intervals
From: "Huditsch Roman" <Roman.Huditsch@xxxxxxxxxxxxx>
Date: Mon, 17 Jan 2005 12:25:01 +0100
xsl for each number
Hi Jarno,

Yes, I am getting the error:

System-ID unbekannt; Zeilennummer95; Spaltennummer39; XSLT-Fehler
(javax.xml.tra
nsform.TransformerConfigurationException):
javax.xml.transform.TransformerExcept
ion: javax.xml.transform.TransformerException: Erwartet wurde ), gefunden
wurde:
 to
Dr|cken Sie eine beliebige Taste . . .


"expected was ), found: to"

Pointing exactly at

<xsl:for-each select="(1 to $cnt)">
	...
</xsl:for-each>

wbr,
Roman
_______________________________________

Roman Huditsch
IT and Electronic Publishing
LexisNexis ARD Orac
Marxergasse 25
1030 Vienna
Austria
ph: +43-1-534 52-1514
f: +43-1-534 52-140
e-mail roman.huditsch@xxxxxxxxxxxxx
www.lexisnexis.at


> -----Urspr|ngliche Nachricht-----
> Von: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
> Gesendet: Montag, 17. Januar 2005 12:18
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: RE:  XSLT 2.0 - for-each with number intervals
>
> Hi,
>
> > Sorry for bothering you with this simple question:
> > I read in my XSLT 2.0 book that it should be possible to do the
> > following:
> >
> > <xsl:for-each select="(1 to 5)">
> > 	Output
> > </xsl:for-each>
> >
> > Unfortunately, using Saxon 8.2 I get an error pointing to the
> > expression in my @select.
> > Could you point me to the rigth syntax, please?
> > I also tried to(1, 5) but with no success either.
>
>   <xsl:for-each select="(1 to 5)">
>
> is correct XSLT & Xpath, and works for me with Saxon 8.2. Are
> you sure the error is the expression and not something else?
>
> Cheers,
>
> Jarno

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.