By mistake I answered privately to Sandeep, so for the sake of documentation here is my answer as well on the mailing list.

---------- Forwarded message ----------
From: Dirk Kirsten <dk@basex.org>
Date: Wed, Jul 11, 2012 at 8:45 AM
Subject: Re: [basex-talk] Displaying transformed XML into JEditorPane
To: Sandeep Yohans <sandeepy.air@gmail.com>


Dear Sandeep,

I don't see how your question relates to BaseX? If the transformation is working fine and you have well-formed HTML output, then the rest is up to the application. Seems like you want to do some Swing-programming; displaying HTML in JEditorPane should work out-of-the-box, but please have a look at the Java-API, e.g.: http://docs.oracle.com/javase/7/docs/api/javax/swing/JEditorPane.html

Cheers,
Dirk

On Tue, Jul 10, 2012 at 6:31 AM, Sandeep Yohans <sandeepy.air@gmail.com> wrote:
Hello,

Below is the code to transform XML file to HTML. When tried with BaseX working fine.

 

let $in := /Resumes/Resume[WorkExpr/Java > "5"]

let $style := doc('resume.xslt')

return  (xslt:transform($in, $style))

 

The aobve XSLT file will tramsform the output to HTML.

Now I want to display this HTML output in JEditorPane.

 


--
Thanks and Regards

Sandeep Yohans


_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk