CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2010
    Posts
    139

    skipping root element in xml document

    Hi all,

    I am reading from an xml file and using the data from that file to populate a propertyGrid. My question is this, how can i skip over the root element's attributes in the xml file so that it is not presented in my propertyGrid?
    Last edited by katy_price; October 29th, 2011 at 08:04 PM.

  2. #2
    Join Date
    Dec 2008
    Posts
    144

    Re: skipping root element in xml document

    Create an XML Element object based on the root- it will pull in everything under the root.
    Code:
    if (Issue.Resolved)
    {
         ThreadTools.Click();
         MarkThreadResolved();
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured