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

  • Home
  • SEARCH
  • 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 9054999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:50:07+00:00 2026-06-16T13:50:07+00:00

I have been searching how to display data from a xml file in a

  • 0

I have been searching how to display data from a xml file in a html5 application. I have a html5 web page that has to read data from a xml saved locally in a folder. I have been trying with xslt, java and everything but I really can’t.

Can someone help me please? Any user guide for dummies? Any tip? Thanks!!

  • 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-16T13:50:09+00:00Added an answer on June 16, 2026 at 1:50 pm

    I always retrieve my XML using AJAX, so for me:

    theXML = xmlhttp.responseXML.documentElement;
    // documentElement is the root of the XML
    
    var elementXXX = theXML.getElementsByTagName('elementXXX')[0].childNodes[0].nodeValue;
    //This will retrieve a first level element in the XML
    

    If there are multiple nodes, then you have to loop through them and extract the nodeValue in each iteration. I find it helpful to think about the content you want to extract from an XML element as the first Child of the element–

    Hope this helps.

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

Sidebar

Related Questions

I have been searching for a command that will return files from the current
I have been searching for a way to get the json data from a
I have been searching for how to retrieve binary data from the database. My
I have been searching for days for a way to always display just one
I have been searching for an example/demo on spinner showing display text tie with
I have been searching for resources to display a video in OpenGL ES for
I'm creating an iPhone app that will pull data down from a Web API,
I have been searching on this. I Need to build an independent utility that
I have been searching the Web and SO without finding an answer to a
Have been searching how to convert a dictionary to a string. But the results

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.