xsl-list
[Top] [All Lists]

AW: XSLT 2.0 - for-each with number intervals

2005-01-17 04:33:45
Solved my problem.
my colleague change the batch file to use Xalan...
Sorry!

wbr,
Roman

-----Ursprüngliche Nachricht-----
Von: Dimitre Novatchev [mailto:dnovatchev(_at_)gmail(_dot_)com] 
Gesendet: Montag, 17. Januar 2005 12:30
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: Re: AW: [xsl] XSLT 2.0 - for-each with number intervals

AFAIK Saxon 8.xx has not yet been localized to other 
languages than British English...

What XSLT 2.0 processor are you using?

This is most probably a bug in the XPath parser engine used 
by your XSLT 2.0 processor.


Cheers,
Dimitre Novatchev




On Mon, 17 Jan 2005 12:25:01 +0100, Huditsch Roman 
<Roman(_dot_)Huditsch(_at_)lexisnexis(_dot_)at> wrote:
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(_dot_)huditsch(_at_)lexisnexis(_dot_)at
www.lexisnexis.at

-----Ursprüngliche Nachricht-----
Von: Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com 
[mailto:Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com]
Gesendet: Montag, 17. Januar 2005 12:18
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: RE: [xsl] 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


--~-----------------------------------------------------------------
- XSL-List info and archive:  
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>