Check out the DOMCount sample. It counts the elements in a document. It sounds like you might want to count the unique element names, in which case you'd need to adapt the code to your purposes.
-----Original Message----- From: Daniele Carlucci [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 8:31 AM To: [EMAIL PROTECTED] Subject: Count element inside a XML file Hi, There is a way with xerces to count the "element names" inside an xml file before all? I ought to create a dynamic struct and inside it I wanna to put these elements with its attributes. Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
