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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:52:10+00:00 2026-05-24T13:52:10+00:00

I am trying to get jquery to read this xml. jQuery runs the success

  • 0

I am trying to get jquery to read this xml. jQuery runs the success function, but the XML is not parsed. I tried validating the xml and got Can not find declaration. Thanks.

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<prices>
  <pitch securityId="AUXNY" considerationCurrency="usd">
    <price actionIndicator="S" limit_kg="55970" limit_fmt_kg="55,970"/>
  </pitch>
  <pitch securityId="AUXNY" considerationCurrency="usd">
    <price actionIndicator="B" limit_kg="56000" limit_fmt_kg="56,000"/>
  </pitch>
  <pitch securityId="AUXLN" considerationCurrency="usd">
    <price actionIndicator="S" limit_kg="56020" limit_fmt_kg="56,020"/>
  </pitch>
  <pitch securityId="AUXLN" considerationCurrency="usd">
    <price actionIndicator="B" limit_kg="56260" limit_fmt_kg="56,260"/>
  </pitch>
  <pitch securityId="AUXZU" considerationCurrency="usd">
    <price actionIndicator="S" limit_kg="56150" limit_fmt_kg="56,150"/>
  </pitch>
  <pitch securityId="AUXZU" considerationCurrency="usd">
    <price actionIndicator="B" limit_kg="56390" limit_fmt_kg="56,390"/>
  </pitch>
  pitch securityId="AGXLN" considerationCurrency="usd">
    <price actionIndicator="S" limit_kg="1290" limit_fmt_kg="1,290"/>
  </pitch>
  <pitch securityId="AGXLN" considerationCurrency="usd">
    <price actionIndicator="B" limit_kg="1293" limit_fmt_kg="1,293"/>
  </pitch>
  <pitch securityId="AUXNY" considerationCurrency="gbp">
    <price actionIndicator="S" limit_kg="34390" limit_fmt_kg="34,390"/>
  </pitch>
  <pitch securityId="AUXNY" considerationCurrency="gbp">
    <price actionIndicator="B" limit_kg="34500" limit_fmt_kg="34,500"/>
  </pitch>
  <pitch securityId="AUXLN" considerationCurrency="gbp">
    <price actionIndicator="S" limit_kg="34420" limit_fmt_kg="34,420"/>
  </pitch>
  <pitch securityId="AUXLN" considerationCurrency="gbp">
    <price actionIndicator="B" limit_kg="34560" limit_fmt_kg="34,560"/>
  </pitch>
  <pitch securityId="AUXZU" considerationCurrency="gbp">
    <price actionIndicator="S" limit_kg="34310" limit_fmt_kg="34,310"/>
  </pitch>
  <pitch securityId="AUXZU" considerationCurrency="gbp">
    <price actionIndicator="B" limit_kg="34400" limit_fmt_kg="34,400"/>
  </pitch>
  <pitch securityId="AGXLN" considerationCurrency="gbp">
    <price actionIndicator="S" limit_kg="786" limit_fmt_kg="786"/>
  </pitch>
  <pitch securityId="AGXLN" considerationCurrency="gbp">
    <price actionIndicator="B" limit_kg="792" limit_fmt_kg="792"/>
  </pitch>
  <pitch securityId="AUXNY" considerationCurrency="eur">
    <price actionIndicator="S" limit_kg="39300" limit_fmt_kg="39,300"/>
  </pitch>
  <pitch securityId="AUXNY" considerationCurrency="eur">
    <price actionIndicator="B" limit_kg="39500" limit_fmt_kg="39,500"/>
  </pitch>
  <pitch securityId="AUXLN" considerationCurrency="eur">
    <price actionIndicator="S" limit_kg="39300" limit_fmt_kg="39,300"/>
  </pitch>
  <pitch securityId="AUXLN" considerationCurrency="eur">
    <price actionIndicator="B" limit_kg="39470" limit_fmt_kg="39,470"/>
  </pitch>
  <pitch securityId="AUXZU" considerationCurrency="eur">
    <price actionIndicator="S" limit_kg="39333" limit_fmt_kg="39,333"/>
  </pitch>
  <pitch securityId="AUXZU" considerationCurrency="eur">
    <price actionIndicator="B" limit_kg="39400" limit_fmt_kg="39,400"/>
  </pitch>
  <pitch securityId="AGXLN" considerationCurrency="eur">
    <price actionIndicator="S" limit_kg="893" limit_fmt_kg="893"/>
  </pitch>
  <pitch securityId="AGXLN" considerationCurrency="eur">
    <price actionIndicator="B" limit_kg="908" limit_fmt_kg="908"/>
  </pitch>
</prices>
  • 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-24T13:52:11+00:00Added an answer on May 24, 2026 at 1:52 pm

    Try to set header response as content-type text/xml and setting dataType to xml in the jQuery ajax call.

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

Sidebar

Related Questions

I'm trying to get Jquery to read a json file, But unfortunately I can
What I am not trying to do: Simply read XML in IE using jQuery.
I'm trying to get an jquery ajax callback function to update the background colour
Im in a spot of bother trying to get this Jquery highlight to work
I am trying to get this awesome JQuery plugin working with SQL Server. I
I am trying to read a text file using jquery, like this: // LOAD
I'm playing around with the jQuery Week Calendar and am trying to get this
I'm trying to create a small sequence of animations with jQuery but cannot get
I am trying to get jquery validate to work on multiple fields. Reason being
I am trying to get jquery to pick up variable that I am defining

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.