XSLT2 transformation with Java?

Discussion in 'XML' started by Thomas Schmidt, Jun 4, 2007.

  1. Hi everybody,

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

    Thanks,

    Thomas
     
    Thomas Schmidt, Jun 4, 2007
    #1
    1. Advertising

  2. 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.TransformerFactory",
    "net.sf.saxon.TransformerFactoryImpl");

    Cheers,

    Thomas


    On 4 Jun., 10:04, Thomas Schmidt <> 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
     
    Thomas Schmidt, Jun 4, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ken Philips
    Replies:
    3
    Views:
    378
    John Keyes
    Sep 23, 2004
  2. Ken Philips
    Replies:
    1
    Views:
    357
    Tjerk Wolterink
    Sep 22, 2004
  3. Harry Zoroc
    Replies:
    1
    Views:
    765
    Boris Poehlmann
    Sep 23, 2004
  4. Replies:
    0
    Views:
    605
  5. RolfK
    Replies:
    2
    Views:
    1,252
    RolfK
    Dec 18, 2007
Loading...

Share This Page