PC Review


Reply
Thread Tools Rate Thread

COnsuming a web service that returns XMLNode

 
 
drewdr@yahoo.com
Guest
Posts: n/a
 
      10th Jan 2006
Any pointers on how to get at specific elements, or better yet,
convert it into a dataset ?
 
Reply With Quote
 
 
 
 
drewdr@yahoo.com
Guest
Posts: n/a
 
      11th Jan 2006
On 10 Jan 2006 19:32:48 +0100, (E-Mail Removed) wrote:

>Any pointers on how to get at specific elements, or better yet,
>convert it into a dataset ?


OK, I've gotten to my wanted element by simply counting:
Mywebservice.Mymethod.ChildNodes.Item(5).InnerText

But is there a faster way that I could get to the item by it's markup,
like:
<firstname>John </firstname> ? -------> item("firstname").innertext
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.net Consuming Coldfusion Webservice which returns a QUERY =?Utf-8?B?R3Jhbm55S2x1bXA=?= Microsoft VB .NET 0 31st Aug 2006 10:23 PM
Help with XmlNode - HasChildNodes always returns true even no immediate child exists RJN Microsoft C# .NET 1 6th Apr 2006 06:48 PM
Help with XmlNode - node.HasChildNodes always returns true even when no child exists RJN Microsoft VB .NET 0 6th Apr 2006 06:45 PM
XmlDocument Web method returns type XmlNode John Bailo Microsoft Dot NET 2 25th Oct 2004 09:26 PM
XmlDocument Web method returns type XmlNode John Bailo Microsoft C# .NET 2 25th Oct 2004 09:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:51 PM.