xsl-list
[Top] [All Lists]

RE: Passing parameters in XSLT with Java

2005-06-09 10:43:59
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(_at_)davidson-tech(_dot_)com] 
Sent: 09 June 2005 18:19
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
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>
--~--