non-public members of the object in C#

On Thu, Sep 24, 2009 at 7:39 PM, Andrew Badera <[email protected]> wrote:

>
> What non-public members? Non-public members of the object in C#? Or
> "non-public members" of the DTD itself?
>
> If you're talking about members of the object in an OO sense, use
> reflection.
>
> ∞ Andy Badera
> ∞ +1 518-641-1280
> ∞ This email is: [ ] bloggable [x] ask first [ ] private
> ∞ Google me: http://www.google.com/search?q=andrew%20badera
>
>
>
> On Thu, Sep 24, 2009 at 5:11 AM, ksenthil <[email protected]> wrote:
> >
> > Hello Andy Badera,
> >
> >           thanks for your immediate reply,
> >           but i need the elements with their child order.
> >
> > I have tried by following method here we can have list of entities but
> > the elements information will be appear in an Non-Public members.
> >
> > mydtd/Non-public members/DtdSchemainfo we can able to check the
> > elements counts.
> >
> > could you please help me to access the Non-Public members from the
> > below XmlDocumentType object???
> >
> >
> > XmlDocumentType mydtd = mydoc.CreateDocumentType("SampleDTD",null,@"D:
> > \ksenthil\tldoc.dtd",null);
> >            foreach (XmlEntity myenty in mydtd.Entities)
> >            {
> >                listBox1.Items.Add(myenty.Name);
> >            }
> >
> >
> >
> >
> >
> > On Sep 22, 10:20 pm, Andrew Badera <[email protected]> wrote:
> >> Iterate nodes and their attributes. Use a hashtable to track unique
> >> instances. Once you've iterated the entire tree, you're guaranteed to
> >> have all the pieces you're looking for.
> >>
> >> ∞ Andy Badera
> >> ∞ +1 518-641-1280
> >> ∞ This email is: [ ] bloggable [x] ask first [ ] private
> >> ∞ Google me:http://www.google.com/search?q=andrew%20badera
> >>
> >> 2009/9/22 கே. செந்தில் குமார் <[email protected]>:
> >>
> >>
> >>
> >> > Hello Team,
> >> >              Please help me to get the list of all elements,
> attributes and
> >> > entity names from the input xml DTD file using C#.NET.
> >> > Thanks
> >> > K. Senthil
> >
>

Reply via email to