Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
how to read XML response from a URL
Old 02-03-2009, 09:05 AM how to read XML response from a URL
Junior Talker

Posts: 1
Name: Chirag Verma
Trades: 0
hi

Can any one help me to read xml from the url .

http://hcmsoft.handcraftedmetal.com/test.html

this link generate an xml out put , how can i read it
chirag12881 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-03-2009, 06:39 PM Re: how to read XML response from a URL
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
Code:
<root>
<error/>
<quoteId>CWIBC7429</quoteId>
<pickupDate>02/02/2009</pickupDate>
<custAccount>002462226</custAccount>
<custName>DEMO                     </custName>
<custAddress>DEMO ADDR #2             </custAddress>
<custAddress2>                         </custAddress2>
<custCity>ATLANTA               </custCity>
<custState>GA</custState>
<custZip>30301</custZip>
<origCity>ATLANTA               </origCity>
<origState>GA</origState>
<origZip>30301</origZip>
<origDIP>D</origDIP>
<destCity>COLUMBIA              </destCity>
<destState>SC</destState>
<destZip>29210</destZip>
<destDIP>D</destDIP>
<quoteDIP>D</quoteDIP>
<transitMiles>204</transitMiles>
<transitTime>1</transitTime>
−
<details>
<typeCharge>P     </typeCharge>
<description>Car Parts                            </description>
<weight>555</weight>
<class>  50</class>
<rate>40.68</rate>
<charges>225.77</charges>
<typeCharge>GFC   </typeCharge>
<description>GROSS FRT CHG                        </description>
<weight>      </weight>
<class>    </class>
<rate>       </rate>
<charges>225.77</charges>
<typeCharge>D7000 </typeCharge>
<description>70.00% DISCOUNT                      </description>
<weight>      </weight>
<class>    </class>
<rate>       </rate>
<charges>158.04</charges>
<typeCharge>NFC   </typeCharge>
<description>NET FRT CHG                          </description>
<weight>      </weight>
<class>    </class>
<rate>       </rate>
<charges>67.73</charges>
<typeCharge>FS    </typeCharge>
<description>LTL FUEL SURCHARGE OF  13.00%        </description>
<weight>      </weight>
<class>    </class>
<rate>       </rate>
<charges>8.80</charges>
<typeCharge>TTL   </typeCharge>
<description>                                     </description>
<weight>555</weight>
<class>    </class>
<rate>       </rate>
<charges>76.53</charges>
</details>
<rateQuote>76.53</rateQuote>
<discountPercent>70.00% </discountPercent>
<discountAmount>158.04</discountAmount>
<specInstr/>
</root>
My output..
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 02-20-2009, 07:18 PM Re: how to read XML response from a URL
Average Talker

Posts: 28
Name: Ben Allen
Trades: 0
You need to use the XMLReader or similar - it depends what you want to do with it. Try here to get a basic understanding: http://developer.yahoo.com/dotnet/howto-xml_vb.html
ballen is offline
Reply With Quote
View Public Profile
 
Old 02-28-2009, 08:28 PM Re: how to read XML response from a URL
Novice Talker

Posts: 11
Trades: 0
You can try this

http://www.c-sharpcorner.com/UploadF...tMellli21.aspx
__________________
Limousine Service Directory

Please login or register to view this content. Registration is FREE
limograbber is offline
Reply With Quote
View Public Profile Visit limograbber's homepage!
 
Reply     « Reply to how to read XML response from a URL
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23952 seconds with 12 queries