Customizing Transformer objects when writing to an XML file

Discussion in 'Java' started by Peter Loh, Feb 5, 2004.

  1. Peter Loh

    Peter Loh Guest

    Hi,

    I would like to transform an in-memory DOM object in a particular
    fashion (e.g. alphabetically sorting the elements at each level)
    before writing the result to an XML file. It seems that this should
    be possible using transformer objects
    (javax.xml.transform.Transformer), but I couldn't find any related
    documentation. Would appreciate any information on how I could
    achieve this. Thanks.

    Peter
    Peter Loh, Feb 5, 2004
    #1
    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. Jacinle Young

    XML transformer

    Jacinle Young, Jun 23, 2004, in forum: Java
    Replies:
    2
    Views:
    381
    Jacinle Young
    Jun 24, 2004
  2. Replies:
    1
    Views:
    741
    Esmond Pitt
    Mar 27, 2005
  3. Andreas
    Replies:
    1
    Views:
    920
    Raymond DeCampo
    Sep 4, 2005
  4. Replies:
    1
    Views:
    388
    John B. Matthews
    Jan 12, 2009
  5. Aéris
    Replies:
    4
    Views:
    1,340
    Arne Vajhøj
    Oct 12, 2011
Loading...

Share This Page