473,396 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How can I get an embedded xml string into structured elements?

I am getting a response back from a webservice that has xml data embedded in a string. I need to get that data out and into xml elements so I can use parts of the data. Is there a way to do this? XML response is shown below.

Expand|Select|Wrap|Line Numbers
  1.       <GetAmountDueResponse xmlns="http://www.manatron.com">
  2.          <GetAmountDueResult><![CDATA[<amountsdue resultstatus="0" resultdescr="Successful" xmlns="http://www.changemeback.com/schemas/AmountsDue">
  3.   <revobjs>
  4.     <revobj id="271968" pin="033719689" lendershortdescr="" lenderdescr="" serviceshortdescr="" servicedescr="" dirtyreadchecksum="1628" situsfreeformaddr="18151 E 6TH AVE" situscitystatezip="AURORA, CA 82311-9402" situsstreetnumber="18151" situsstreetnumbersfx="" situspredirectional="East" situsstreetname="6TH" situsstreettype="Avenue" situspostdirectional="" situsunittype="" situsunitnumber="" situscity="AURORA" situstateabbrev="CA" situspostalcd="82311-9402" />
  5.   </revobjs>
  6.   <parties>
  7.     <party id="271968006" revobjid="271968" name="MODULAR SPACES" nameprefix="" firstname="" middlename="" lastname="MODULAR SPACES" namesuffix="" attention="MODULAR SPACES" legalpartytype="102055" legalpartytypedesc="Proprietorship" addresstype="101600" deliveryaddr1="1200 SWEDESFORD RD" deliveryaddr2="BERWYN PA  19312-1078" address="1200 SWEDESFORD" citystatezip="BERWYN, CA 23312-1078" streetnumber="1200" predirectional="" streetname="SWEDESFORD" streettype="RD" postdirectional="" unittype="" unitnumber="" city="BERWYN" state="California" stateabbrev="CA" zipcode="23312-1078" country="" />
  8.   </parties>
  9.   <taxbills>
  10.     <taxbill id="6714081" revobjid="271968" taxyear="2009" billnumber="200903371968901" tscertificatenumber="" dirtyreadchecksum="1628">
  11.       <duedates>
  12.         <duedate inst="1" datedue="3/2/2009" fulldatedue="4/30/2009" />
  13.         <duedate inst="2" datedue="6/15/2009" fulldatedue="4/30/2009" />
  14.       </duedates>
  15.       <flags>
  16.         <flag flagobjecttype="100252" id="15008893" />
  17.       </flags>
  18.     </taxbill>
  19.   </taxbills>
  20.   <allocs>
  21.     <alloc revobjid="271968" taxbillid="6714081" rolltype="1000002" revenuesource="290019" type="290085" cd="290090" inst="1" amount="2897.88" fullamount="2897.88" />
  22.     <alloc revobjid="271968" taxbillid="6714081" rolltype="1000002" revenuesource="290019" type="290085" cd="290090" inst="2" amount="2897.85" fullamount="2897.85" />
  23.     <alloc revobjid="271968" taxbillid="6714081" rolltype="1000002" revenuesource="290019" type="290087" cd="1000501" inst="1" amount="5.00" fullamount="5.00" />
  24.     <alloc revobjid="271968" taxbillid="6714081" rolltype="1000002" revenuesource="290019" type="290087" cd="1000501" inst="2" amount="5.00" fullamount="5.00" />
  25.   </allocs>
  26. </amountsdue>]]></GetAmountDueResult>
  27.       </GetAmountDueResponse>
  28.  
Apr 30 '12 #1
0 1470

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: soup_or_power | last post by:
Can someone please explain why getObjects2 works and getObjects1 fails? Thank you. function getObjects1 ( obj_name) { var objs = eval( "document.main_form.elements" ); if ( objs != null &&...
7
by: >>Shailesh | last post by:
CODE: $stuff = '<html><head><title>stuff</title></head><body><b>Hello</b> World</body></html>'; header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past...
1
by: Ray Mitchell | last post by:
Hello, In the following code assume that the ListView object "myListView" has been properly created. What I am attempting to do is add a string as a list view item, then read the various string...
10
by: Eranga | last post by:
I have the following code; string test1 = words;//"Exclud" string test2 ="Exclud"; string test3 = String.Copy(words);//"Exclud" bool booTest1 = test1.Equals(test2);//false bool booTest2 =...
3
by: raghu sunkara | last post by:
Hi, How Can i Change or Modify Embedded String Resource In An Assembly. I Need To Modify Embedded String Resource In An Assembly. Please Help Me. Thanks Raghu.
1
by: raghu sunkara | last post by:
hi, how to change or modify embedded string resource in an assembly at runtime. please help me. Thanks, Raghu
0
by: raghu sunkara | last post by:
Hi, How To Change Or Modify Embedded Resource In An Assembly. Actually I Need To Modify Embedded String Resource In A Compiled Assembly. Thanks, Raghu
3
by: bobc | last post by:
Using SQL Server 2000... I wrote a wrapper to call a sub proc (code provided below). The intended varchar value returned in the output parameter of each proc is a string implementation of an...
7
by: Hendrik Schober | last post by:
Hi, this #include <string> class test { typedef std::string::size_type size_type; static const size_type x = std::string::npos; }; doesn't compile using either VC9 ("expected constant...
2
by: lcurlr | last post by:
Over at developers.curl.com I have a blog post on an IE8 quirk which I hit while standardizing the html at my aule-browser.com website. When I moved the height and width parameters from the object...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.