Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > XSLT2 transformation with Java?

Reply
Thread Tools

XSLT2 transformation with Java?

 
 
Thomas Schmidt
Guest
Posts: n/a
 
      06-04-2007
Hi everybody,

can somebody point me to an example / an instruction on how to
transform an XML document using Java and XSLT2?

Thanks,

Thomas

 
Reply With Quote
 
 
 
 
Thomas Schmidt
Guest
Posts: n/a
 
      06-04-2007
Oops, found it myself:

1) Use the SAXON library, Version Saxon-B 8.9 from http://saxon.sourceforge.net/
2) add the following line to your code at an appropriate place:

System.setProperty("javax.xml.transform.Transforme rFactory",
"net.sf.saxon.TransformerFactoryImpl");

Cheers,

Thomas


On 4 Jun., 10:04, Thomas Schmidt <(E-Mail Removed)> wrote:
> Hi everybody,
>
> can somebody point me to an example / an instruction on how to
> transform an XML document using Java and XSLT2?
>
> Thanks,
>
> Thomas



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT2.0 temporary nodeset as parameter RolfK XML 2 12-18-2007 01:42 PM
Transformation using Saxon xslt2.0. shinde.shailesh@gmail.com XML 0 06-28-2006 06:59 AM
Is an extension of ".xslt2" a must for xslt stylesheets of spec 2.0 ? Ken Philips Java 3 09-23-2004 10:52 AM
Which Xslt processors support Xslt2.0 ? Harry Zoroc XML 1 09-23-2004 12:31 AM
Is an extension of ".xslt2" a must for xslt stylesheets of spec 2.0 ? Ken Philips XML 1 09-22-2004 08:48 PM



Advertisments