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

RE: Passing parameters in XSLT with Java

Subject: RE: Passing parameters in XSLT with Java
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 9 Jun 2005 18:43:59 +0100
passing parameters to xslt java
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:  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

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.