aspose file tools
The moose likes XML and Related Technologies and the fly likes Exception Handling in XSLT ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Exception Handling in XSLT ???" Watch "Exception Handling in XSLT ???" New topic
Author

Exception Handling in XSLT ???

Sachin Kumar Khandelwal
Greenhorn

Joined: Dec 02, 2003
Posts: 8
Hi

Using xslt is really very efficient and easy instead of DOM,also it improves the maintainability.
I tried using the java classes in XSLT, which is beneficial at certain situation.But found one problem , i'm not able to catch any Exception thrown inside the XSLT.
is there any way we can do that???

plz help

thanking in advance,

Sachin
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
XSLT doesn't have the concept of exceptions so I'm afraid there's nothing much you can do. Then again, I'm not sure whether I understand what you mean by "exceptions" in this context so perhaps you would like to elaborate a bit?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Exception Handling in XSLT ???
 
Similar Threads
NoClassDefFoundError: org/apache/xalan/xslt/Process
How to dynamically create or modify XSL
Using XSLT Processor in high volumn production environment
To author
xml transformation