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

Thread: merging two tables from two diffrent htmls files using java

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default merging two tables from two diffrent htmls files using java

    Hi

    I am trying trying to merge two tables of same table name,same column heading but different data inside using java.The tables are generated using HTML code in two different HTML files.

    any idea how can i go ahead?


  2. #2
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: merging two tables from two diffrent htmls files using java

    How is this data stored in Java?

    Maps?

    // Json

  3. #3
    Junior Member
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: merging two tables from two diffrent htmls files using java

    Actually Ii have two xml like files called dita files.In these files the structure of the tables are defined like this...

    <rule class="+ topic/li dr-d/rule ">
    <ruleName class="+ topic/ph dr-d/ruleName ">4x41b</ruleName>
    <ruleNotes class="+ topic/ph dr-d/ruleNotes ">-</ruleNotes>
    <ruleDesc class="+ topic/itemgroup dr-d/ruleDesc ">Ex maximum </ruleDesc>
    <ruleOper class="+ topic/ph dr-d/ruleOper ">?</ruleOper>
    <ruleValue class="+ topic/ph dr-d/ruleValue ">80</ruleValue>
    </rule>

    now I need to merge the contents of 2 tables in xml files after checking ruleName in both the tables are same and store the output in third file

Similar Threads

  1. Java program which can list all files in a given directory
    By JavaPF in forum Java Programming Tutorials
    Replies: 8
    Last Post: July 9th, 2013, 03:38 AM
  2. getting files in the linux server
    By Truffy in forum Java Networking
    Replies: 36
    Last Post: June 22nd, 2009, 06:32 PM
  3. [SOLVED] Using 3rd Party JAR Files
    By oss_2008 in forum Java Theory & Questions
    Replies: 12
    Last Post: June 12th, 2009, 10:27 AM
  4. Problem in merging two java classes
    By madkris in forum Object Oriented Programming
    Replies: 11
    Last Post: March 16th, 2009, 09:02 AM
  5. FileNotFound error while working with XML files in windows
    By ochieng in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: November 14th, 2008, 06:56 AM