Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8652005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:12:23+00:00 2026-06-12T14:12:23+00:00

I am building a Winform web browser. I have a history.xml file which stores

  • 0

I am building a Winform web browser. I have a history.xml file which stores history of the browser. I need to display that in the browser window so the user can click the hyperlink of the website and navigate. I want to use JavaScript to parse the XML file and display the content in table form. How do I parse XML using JS? I am not sure about what to use in this situation. I already have a good HTML page with CSS to display history. Please advice.

My XML file looks like this.

<?xml version="1.0" encoding="utf-8"?>
<browsing>
  <history date="08/10/2012">
    <url>http://www.google.ca/</url>
    <time>12:52 AM</time>
  </history>
  <history date="08/10/2012">
    <url>http://www.facebook.com/</url>
    <time>12:53 AM</time>
  </history>
  <history date="08/10/2012">
    <url>http://ca.msn.com/</url>
    <time>9:51 PM</time>
  </history>
</browsing>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:12:25+00:00Added an answer on June 12, 2026 at 2:12 pm

    Use jQuery’s $.get().

    $.get("history.xml", function(xml) {
      $(xml).find("history:nth(0)").find("url").val(); // returns http://www.google.ca/
      $(xml).find("history:nth(1)").getAttribute("date"); // returns 08/10/2012
    }, "xml");
    

    EDIT: While i was writing this answer, your post was edited. To display it in a table form, it might be easier just to use XSLT. It’s specifically designed for styling XML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a WinForms application Window (form), inside that I'm using a FlowLayoutPanel, with
I have an application that I'm building that has had concurrency problems in the
I'm building a winform app which uses datagrids, lists, textboxes which are bound to
I am building a chess game and i have a loop that runs through
I am building a Space Invaders game. I have got a simple algorithm that
I building a winform application that records information using khmer unicode font. For my
Building on this question: Django Celery Time Limit Exceeded? I have some tasks that
I am building a new applications architecture and I need your advice. We have
I'm building a WinForm with quite a few dynamic elements, and I think I'm
Building an inventory system. I have lots of products and each product has three

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.