Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Usage Scenario

This is a discussion on Usage Scenario within the XML forums, part of the Programming Talk category; I am confused with the usage of XmlNodeReader and XmlTextReader. When can I prefer to use XmlNodeReader instead of an ...

  1. #1
    Ralph is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    114

    Usage Scenario

    I am confused with the usage of XmlNodeReader and XmlTextReader. When can I prefer to use XmlNodeReader instead of an XmlTextReader. Kindly suggest me and provide guidelines for me on the usage so that I can use these efficiently.


  2. #2
    caradoc is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    122
    Because of the thin layer in the functionality difference you would have got confused with the usage of XmlNodeReader and XmlTextReader. Make use of XmlNodeReader document when you need to modify the structure of you document or randomly access the nodes within it. For only reading purpose make use of XmlTextReader. By this approach you can make use of XmlNodeReader and XmlTextReader efficiently.


Latest Article

Network Security Risk Assessment and Measurement

Read More...