Shefali Lahariya

Shefali Lahariya

  • NA
  • 257
  • 155.3k

XML Parsing in C#

Nov 2 2017 9:29 AM
After this code "doc. LoadXml (ServiceResult);" which code is used for XML parsing.
How to parse XML and get "ns1: entitled" value that is given below:-
 
<?xml version="1.0" encoding="UTF-8"?>
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
-<soapenv:Body>
-<ns1:GetEntityByRoomKeyResponse xmlns:ns1="http://portal.vidyo.com/user/v1_1">
-<ns1: >
<ns1:entityID>9038</ns1:entityID>
<ns1:EntityType>Room</ns1:EntityType>
<ns1:ownerID>9037</ns1:ownerID>
<ns1:displayName>[email protected]_room</ns1:displayName>
<ns1:extension>103102522420</ns1:extension>
<ns1:emailAddress>[email protected]</ns1:emailAddress>
<ns1:tenant>shefaliTest</ns1:tenant>
<ns1:Language>en</ns1:Language>
<ns1:MemberStatus>Offline</ns1:MemberStatus>
<ns1:MemberMode>Available</ns1:MemberMode>
<ns1:canCallDirect>false</ns1:canCallDirect>
<ns1:canJoinMeeting>true</ns1:canJoinMeeting>
<ns1:canRecordMeeting>false</ns1:canRecordMeeting>
<ns1:isInMyContacts>false</ns1:isInMyContacts>
<ns1:RoomStatus>Empty</ns1:RoomStatus>
-<ns1:RoomMode>
<ns1:roomURL>https://shefaliTest.vidyoeval.ril.com/flex.html?roomdirect.html&key=EgIta3srAl</ns1:roomURL>
<ns1:isLocked>false</ns1:isLocked>
<ns1:hasPIN>false</ns1:hasPIN>
<ns1:roomPIN>****</ns1:roomPIN>
<ns1:hasModeratorPIN>false</ns1:hasModeratorPIN>
<ns1:moderatorPIN>****</ns1:moderatorPIN>
</ns1:RoomMode>
<ns1:canControl>true</ns1:canControl>
<ns1:audio>false</ns1:audio>
<ns1:video>false</ns1:video>
<ns1:appshare>true</ns1:appshare>
</ns1:Entity>
</ns1:GetEntityByRoomKeyResponse>
</soapenv:Body>
</soapenv:Envelope>
 

Answers (2)