Re: xquery to xslt update
> 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 ________________________________________________________________________
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format