how i get group id from following xml code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prasanna39
    New Member
    • Sep 2010
    • 1

    #1

    how i get group id from following xml code

    How do I get the group id from following xml code?
    Code:
    <?xml version="1.0" encoding="utf-16"?>
    <DefaultNetwork xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="495dcb88-b54b-4cf3-9728-c3b46ac9d8b9" xmlns="http://www.inkaar.com/Relations">
      <OwnerAddress>k2@relgo.com</OwnerAddress>
      <AllGroups>
        <Group Id="c10e9be7-9124-449e-b9b2-790645dc3530" OwnerAddress="k2@relgo.com">prasanna</Group>
        <Group Id="baa04bcd-8d22-4dcc-8e62-cdd6747f317b" OwnerAddress="k2@relgo.com">My Group</Group>
      </AllGroups>
      <Name>My Network</Name>
      <NetworkAccess>
        <Type>Public</Type>
      </NetworkAccess>
      <IsAdminNetwork>false</IsAdminNetwork>
      <IsDirectoryNetwork>false</IsDirectoryNetwork>
    </DefaultNetwork>
    Last edited by Frinavale; Sep 14 '10, 02:45 PM. Reason: Added the question to the thread.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    What have you tried so far to get the ID?
    Are you using LINQ to XML or are you using objects from the System.XML namespace to work with the XML document??

    -Frinny

    Comment

    Working...