Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XML to HTML Conversion using JAX-P, XSLT Processor  RSS feed

Raja Mirrah
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying to convert an xml to text and print it in an Standard Output using XSL,

I have an input xml file and xsl file and i am using jax-p api ,

Here is the code

I am getting the following error when i ran it,

ERROR: 'null'
FATAL ERROR: 'Could not compile stylesheet'
Exception in thread "main" javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
at Source)
at Source)
at CiscoTranslator.main(

Can anyone please help me in resolving this issue?

Your early response is highly appreciated.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!