RE: [xsl] Passing arrays into XSL

Subject: RE: [xsl] Passing arrays into XSL
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 24 Feb 2006 13:37:32 -0000
The kinds of object you can pass as the value of an xsl:param depend on your
processor. The XSLT 1.0 type system includes node-sets, which you may or may
not be able to supply as an array of nodes, depending on your processor.
It's unlikely that an XSLT 1.0 processor would support any other kind of
array. XSLT 2.0 supports sequences of nodes or atomic values, so it's much
more likely that you will be able to pass, say, an array of strings or
integers.

But the best way of passing a complex object as input to the transformation
is to represent the complex object as XML, because that's what XSLT is
designed to handle.

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

> -----Original Message-----
> From: Deepak [mailto:deepak_vn@xxxxxxxxx] 
> Sent: 24 February 2006 13:05
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Passing arrays into XSL
> 
> Hi,
> 
> I was wondering is that possible to pass an array
> object to XSL and retreve the values from array.
> 
> Do you have any suitable example examplains above
> details ?
> 
> Thanks and Regards.,
> deepak
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

Current Thread