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 1090359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:21:45+00:00 2026-05-16T23:21:45+00:00

I need a little direction on how to parse this in JavaScript. I want

  • 0

I need a little direction on how to parse this in JavaScript.

I want to list the total number of buildings and in each building, the total number of tenants.

My XML looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<AppManager-response uri="/AppManager/xml/ListBuildings">
    <result>
        <response method="ListBuildings">
            <Building Name="Broadway Business Center" TYPE="Commercial">
                <Tenant DISPLAYNAME="ABC Company" TYPE="Owner"/>
                <Tenant DISPLAYNAME="123 Company" TYPE="Renter"/>
            </Building>
            <Building Name="Seniors Residence" TYPE="Private">
                <Tenant DISPLAYNAME="Ricky Ricardo" TYPE="Owner"/>
                <Tenant DISPLAYNAME="Bob Barker" TYPE="Owner"/>
                <Tenant DISPLAYNAME="Tony Randal" TYPE="Renter"/>
            </Building>
        </response>
    </result>
</AppManager-response>

I’ve been playing around with the examples at w3schools XML DOM traverse Node tree – but it’s not working for me.

Sorry, I’m just a newbie in this.

  • 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-05-16T23:21:45+00:00Added an answer on May 16, 2026 at 11:21 pm

    you can use jquery plugin like :

    http://jparse.kylerush.net/

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

Sidebar

Related Questions

I need a little help getting this script doing what I want it to.
I need a little push in the right direction. Here's my problem: I have
I've just started a project and need a little push in the right direction.
Need a little help with my jquery here I want all my button with
I need a little help writing a query. I have this data... vDir iNumber
I have 2 vectors, each defined by 2 Point3D (origin and direction). I need
Need a little preliminary pointing at the right direction. I have a web page
Update this program is supposed to keep track of the number of times each
So I am thinking of building a little reminder app. I want it to
I need little help for url rewriting in wordpress. basically what i need: mydomain.com/mysomewordpresspost

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.