Subject: Re: [xsl] xquery to xslt update From: David Carlisle <davidc@xxxxxxxxx> Date: Sat, 12 Nov 2005 22:33:35 GMT |
> So what's java:trans2? The source code is in the distribution. It's basically saxon:transform which is an extension function saxon provides that allows you to call saxon specifying a source document and stylesheet, returning the result as a value to the current transform. The change (the coding of which probably reveals that my xslt is rather better than my java) is to stop it ever throwing an exception, they are all caught and instead it returns a string with the error message. I need to catch these in the java as I can't catch exceptions in xsl and I need all the tests to be processed even though some of them (intentionally or otherwise) generate an error compiling or running one of the test queries. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Rearrange element in hierarch, Arulraj | Thread | Re: [xsl] xquery to xslt update, Colin Paul Adams |
RE: [xsl] key() returning nodes in , Michael Kay | Date | Re: [xsl] xquery to xslt update, Colin Paul Adams |
Month |