On 28/06/2011 18:57, P, Habin wrote:
Hi,
 
Is it possible to cast an xsl variable to a custom Java type for e.g, casting an xsl variable to a type 'com.abc.Myclass'
 
Thanks in advance,
Habin

You can declare the variable as being an external Java object of a particular type, but you can't force a conversion to that type - Saxon would have no idea how to perform the conversion.

Michael Kay
Saxonica

------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ saxon-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/saxon-help