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