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 4 of 4

Thread: XML to HTML

  1. #1
    Junior Member
    Join Date
    Oct 2020
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question XML to HTML

    Hi Guys!

    I have a very big problem. I don't know how to do a reference from an XML file to a Servlet project.

    I paste it:

    Create a Java-based program that processes the xml file above. Its task is the
    harvesting, organizing and enumeration of code "a" attributed subfields of data fields with
    "100" tag attributes.
    Example output:
    Abegg, Birgit: 4
    Ablonczyné Mihályka Lívia: 10
    Adair, Ian: 1
    Aerens, Luc: 1
    ...
    The numbers next to the names are the frequency of their appearance in the harvested data.
    The names have to be listed in alphabetical order.
    The program requests two parameters:
    - the path to the xml file
    - (optional) narrowing displayed data to the names starting with the value of the parameter
    The program has to be delivered in 'jar' format along with the source.


    Thank you, Guys!

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: XML to HTML

    What have you tried?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Oct 2020
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: XML to HTML

    I have tried nothing.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: XML to HTML

    Start by making a list of the steps the program needs to take to solve the problem.
    Post your current list of those steps and ask some questions about the parts you are having problems with.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Saving as HTML?
    By LoganC in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 8th, 2012, 10:20 PM
  2. HTML Parsing
    By Bacon n' Logic in forum What's Wrong With My Code?
    Replies: 3
    Last Post: March 6th, 2012, 06:18 PM
  3. Hoe do I read html from the web?
    By bholzer in forum Other Programming Languages
    Replies: 2
    Last Post: August 9th, 2011, 06:09 PM
  4. HTML Help Please!!!!!!
    By coolteenaaron in forum Other Programming Languages
    Replies: 1
    Last Post: May 25th, 2011, 04:28 PM
  5. HTML in JOptionPane
    By LordThumper in forum AWT / Java Swing
    Replies: 1
    Last Post: April 27th, 2011, 11:50 AM

Tags for this Thread