Results 1 to 3 of 3
  1. #1
    svpriyan is offline Member
    Join Date
    Mar 2009
    Location
    London
    Posts
    8
    Rep Power
    0

    Default Automatically Generate an XML file

    Hai friends,

    I am new to this site.

    I need to automatically Generate an XML file from the data i have in a file . for example

    The Concept hierarchy looks like this
    << Refer Image>>


    So i have to read this from some source( May be a file) and generate an XML file !

    Do any 1 knows this , how i can start to do ? Which Prog language/ Or already any Code available to do in Java

    i need your kind help

    Thanks

    Priyan
    Attached Thumbnails Attached Thumbnails Automatically  Generate an XML file-cars.jpg  
    Last edited by svpriyan; 04-04-2009 at 10:36 AM. Reason: coded

  2. #2
    Aseem is offline Senior Member
    Join Date
    Mar 2009
    Location
    USA
    Posts
    127
    Rep Power
    0

    Default

    for the u have to use parsers like dom, sax, jaxb. with the help of these parsers u can create a XML from given data or extract data from xml. Both ways possible...

  3. #3
    devunion is offline Member
    Join Date
    Jun 2008
    Posts
    56
    Rep Power
    0

    Default

    You can use DOM for small files. And SAX or StAX for large files.
    Try Controls4J - Advanced Swing Components.

Similar Threads

  1. Generate a Class file
    By Daniel in forum New To Java
    Replies: 6
    Last Post: 04-20-2009, 06:37 AM
  2. generate XML file from GUI Swing
    By ninja in forum AWT / Swing
    Replies: 1
    Last Post: 03-26-2009, 11:26 PM
  3. refreshing the page automatically if the configuration file changes
    By anitha2324 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 01-07-2009, 04:08 PM
  4. Automatically File Upload to server ...Help Needed
    By 82rathi.angara in forum New To Java
    Replies: 6
    Last Post: 08-05-2008, 08:13 AM
  5. Generate an executable file
    By romina in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •