![]() |
|
![]() | ||
|
Subject:
Identifying Duplicate Xml Elements with XmlValidating Reader
Category: Computers > Programming Asked by: kingtiny9-ga List Price: $10.00 |
Posted:
04 Jul 2004 19:01 PDT
Expires: 03 Aug 2004 19:01 PDT Question ID: 369694 |
Consider the XML document at the following location. http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test008.rdf I am using the .NET XmlValidatingReader [1] and I need to be able to distinguish between the two XML rdf:description elements in the documents. If I was using the XmlDocument [2] then each XML element would be represented by a different XmlNode object the address of which I could store in a HashTable and then use that address value to determine whether the element was one that had previously been encountered. However with the XmlValidatingReader (a streaming parser) I cannot programatically determine whether an element was previously encountered. Maybe this feature is not supported by the .NET XmlReader. [1] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxmlvalidatingreaderclasstopic.asp [2] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxmldocumentclasstopic.asp |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |