Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: XML DISPLAY

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Lightbulb XML DISPLAY

    Hi,

    I wanted to know that how can i Display Parsed XML file in Swing Java, the parsing end is finished i have used sax parser also in next phase the displayed xml is edited should output in xml format. I am showing below the parsed xml tags

    Name : VG_MachineData

    Name : Mold1.sv_rMoldStroke
    Type : REAL
    Value : 600.0

    Name : Core1.sv_rMaxSpeedFwd
    Type : REAL
    Value : 50.0


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,042
    Thanks
    52
    Thanked 2,280 Times in 2,251 Posts

    Default Re: XML DISPLAY

    I don't think there are any java SE classes for formatting XML for display. You might have to write that yourself.
    If you don't understand my answer, don't ignore it, ask a question.

  3. The Following User Says Thank You to Norm For This Useful Post:

    kebadev (April 19th, 2013)

  4. #3
    Junior Member
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: XML DISPLAY

    How do i fetch each parsed node i needed some advice not code

  5. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,042
    Thanks
    52
    Thanked 2,280 Times in 2,251 Posts

    Default Re: XML DISPLAY

    Sorry, I don't know anything about how to parse XML. I was assuming your code already did that and now wanted a way to display the results of the parse.
    If you don't understand my answer, don't ignore it, ask a question.

  6. The Following User Says Thank You to Norm For This Useful Post:

    kebadev (April 19th, 2013)

  7. #5
    Junior Member
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: XML DISPLAY

    yes exactly the file is parsed but in first phase i have to only show the parsed string in gui and in phase two i have to edit those and save them again in xml format

Similar Threads

  1. convert excel to xml and read the input from xml file
    By rahulruns in forum Object Oriented Programming
    Replies: 5
    Last Post: April 3rd, 2012, 11:13 AM
  2. Reading XML File using DOMParser and have problem with accessing xml
    By optiMystic23 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 21st, 2012, 01:22 PM
  3. i need help with xml
    By programmer1 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: July 25th, 2011, 07:00 PM
  4. [SOLVED] Write an xml dom to a xml file
    By Kakashi in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: March 2nd, 2011, 02:30 PM
  5. java xml-rpc response parsing to xml
    By kievari in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: November 19th, 2009, 01:36 PM

Tags for this Thread