File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
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://aspose.com/file-tools
 
subject: Exception Handling in XSLT ???