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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:07:41+00:00 2026-06-02T03:07:41+00:00

Trying to parse an XML result from a Web Service, vinquery.com, usually the values

  • 0

Trying to parse an XML result from a Web Service, vinquery.com, usually the values are in between the key name e.g. hello however the XML returned is:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<VINquery Version="1.0.0" Report_Type="BASIC" Date="1/19/2012">
    <VIN Number="1ZVFT80N475337065" Status="SUCCESS">
        <Vehicle VINquery_Vehicle_ID="32627" Model_Year="2007" Make="Ford" Model="Mustang" Trim_Level="V6 Deluxe Coupe">
            <Item Key="VINquery_Vehicle_ID" Value="32627" Unit="" />
            <Item Key="Model Year" Value="2007" Unit="" />
            <Item Key="Make" Value="Ford" Unit="" />
            <Item Key="Model" Value="Mustang" Unit="" />
            <Item Key="Trim Level" Value="V6 Deluxe Coupe" Unit="" />
            <Item Key="Manufactured in" Value="UNITED STATES" Unit="" />
            <Item Key="Production Seq. Number" Value="337065" Unit="" />
            <Item Key="Body Style" Value="COUPE 2-DR" Unit="" />
            <Item Key="Engine Type" Value="4.0L V6 SOHC 12V" Unit="" />
            <Item Key="Transmission-short" Value="5A | 5M" Unit="" />
            <Item Key="Transmission-long" Value="5-Speed Automatic | 5-Speed Manual" Unit="" />
            <Item Key="Driveline" Value="RWD" Unit="" />
            <Item Key="Tank" Value="16.00" Unit="gallon" />
            <Item Key="Fuel Economy-city" Value="18 - 19" Unit="miles/gallon" />
            <Item Key="Fuel Economy-highway" Value="26 - 28" Unit="miles/gallon" />
            <Item Key="Anti-Brake System" Value="Non-ABS | 4-Wheel ABS" Unit="" />
            <Item Key="Steering Type" Value="R&amp;P" Unit="" />
            <Item Key="Standard Seating" Value="4" Unit="" />
            <Item Key="Optional Seating" Value="No data" Unit="" />
            <Item Key="Length" Value="187.60" Unit="in." />
            <Item Key="Width" Value="74.00" Unit="in." />
            <Item Key="Height" Value="54.50" Unit="in." />
        </Vehicle>
</VIN>
</VINquery>

What is the most efficient way to obtain the value of say Item Key="Body Style" using $(xml) or other?

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-02T03:07:42+00:00Added an answer on June 2, 2026 at 3:07 am

    jQuery.parseXML() : http://api.jquery.com/jQuery.parseXML/

       var xmlDoc = $.parseXML( xmlstring);     
       $xml = $( xmlDoc );     
       $(xml).find("Item").each(function () {  
          if ($(this).attr("Key") == "Body Style")
          {
               alert($(this).attr("Value"));    
          }
       }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to read a xml file from the web and parse it
Ok I am trying to parse an XML from a get request in Javascript.
I'm trying to develop an app that gets four coord. values from an XML
I'm trying to parse an xml file output from googletest to display the results
I'm trying to parse the result from a RESTFull call using RestTemplate following this
I am trying to parse this document in scala: <?xml version=1.0?> <model> <joint name=pelvis>
I am having difficulty trying to return values from an XML file. Here is
I am trying to parse XML with jsoup, but I can't find any examples
I'm trying to parse xml done like this: <foreign lang=gre>&lsquo;<LM lemma=auieo catg=fg>auieo</LM>&rsquo;</foreign> I'm using
Trying to parse some XML but apparently this is too much for a lazy

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.