Advertisement

05.30.2007 at 04:46AM PDT, ID: 22601724
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

Retrieve XML node values to ASP variable

Asked by fireflyinternet in Active Server Pages (ASP), Extensible Markup Language (XML)

Tags: , , , ,

Hi All,

have googled and searched here for a resolution, tried various suggestions but to no avail.

I need to extract node(?) information from an XML response into an ASP variable and need it desperately.

The XML response I get is as follows :-

<?xml version="1.0"?>
<Response id="fa09418699260e94919ef05d2a484d53">
   <block name="availability">
      <a name="quick-result" format="counting">4</a>
      <a name="postcode" format="postcode">ML2 7BN</a>
      <block name="classic-qualification">
         <a name="result-code" format="text">A</a>
         <a name="fixed-rate" format="text">G</a>
         <a name="likely-max-speed" format="counting">2097152</a>
         <a name="rate-adaptive" format="text">G</a>
      </block>
      <block name="exchange">
         <a name="code" format="text">WSHAM</a>
         <a name="name" format="text">HAMILTON</a>
         <a name="state" format="text">E</a>
      </block>
      <block name="max-qualification">
         <a name="rate-adaptive" format="text">G</a>
         <a name="likely-max-speed" format="counting">7168000</a>
      </block>
   </block>
   <status no="0"/>
</Response>

I need to be able to extract the value from a particular line as and when required ie the value of 'likely-max-speed' under the 'classic-qualification' branch and 'postcode' if required.

Any help gratefully accepted.Start Free Trial
 
Loading Advertisement...
 
[+][-]05.30.2007 at 05:09AM PDT, ID: 19179072

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Active Server Pages (ASP), Extensible Markup Language (XML)
Tags: asp, xml, classic, retrieve, values
Sign Up Now!
Solution Provided By: ChetOS82
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.30.2007 at 05:29AM PDT, ID: 19179217

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32