Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
VB.NET
VB.NET General Discussion
attributes fetching
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="msrnivas" data-source="post: 7947" data-attributes="member: 2521"><p>Hi </p><p></p><p>I am doing xml parsing in ASP.NEt .i am getting prob with attributes.How to get attribut values.</p><p></p><p>my xml looks like</p><p></p><p></p><p><PhoneList></p><p><Phone Number='12234' CID='244' /> </p><p></PhoneList></p><p><AsID>100</AsID></p><p></p><p>my code is</p><p></p><p>XmlDocument xDoc = new XmlDocument();</p><p>xDoc.Load(strxml);</p><p>XmlNodeList asid = xDoc.GetElementsByTagName("AsID");</p><p></p><p></p><p>here i can get asid without any problem.How to get the Number and CID from above xml?</p><p>pl advice me</p></blockquote><p></p>
[QUOTE="msrnivas, post: 7947, member: 2521"] Hi I am doing xml parsing in ASP.NEt .i am getting prob with attributes.How to get attribut values. my xml looks like <PhoneList> <Phone Number='12234' CID='244' /> </PhoneList> <AsID>100</AsID> my code is XmlDocument xDoc = new XmlDocument(); xDoc.Load(strxml); XmlNodeList asid = xDoc.GetElementsByTagName("AsID"); here i can get asid without any problem.How to get the Number and CID from above xml? pl advice me [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
VB.NET
VB.NET General Discussion
attributes fetching
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom