RE: [xsl] Passing parameters in XSLT with Java

Subject: RE: [xsl] Passing parameters in XSLT with Java
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 9 Jun 2005 18:43:59 +0100
XSLT 2.0 allows a sequence of integers in its type system, and therefore one
can reasonably expect an XSLT 2.0 processor to allow such a value to be
passed to a stylesheet parameter. (Saxon 8.x allows it from the Java API,
e.g. you can pass a Java int[].

XSLT 1.0 doesn't allow a sequence of integers as a data type. The only way
in 1.0 to represent a sequence of integers is by wrapping the integers in
XML elements, and passing a node-set.

Michael Kay
http://www.saxonica.com/
  

> -----Original Message-----
> From: Zak Nixon [mailto:zaknixon@xxxxxxxxxxxxxxxxx] 
> Sent: 09 June 2005 18:19
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Passing parameters in XSLT with Java
> 
> Is there any ways to pass lists of integers
> to an XSLT stylesheet and let it work on those 
> variables ?
> 
> Thx
> 
> Zak

Current Thread