Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Constraint with Reader Object

This is a discussion on Constraint with Reader Object within the XML forums, part of the Programming Talk category; I am using reader objects in my application. The problem I am facing is it does not all to traverse ...

  1. #1
    caradoc is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    122

    Question Constraint with Reader Object

    I am using reader objects in my application. The problem I am facing is it does not all to traverse a document in different directions. Also in addition it does not allow writing information to XML document. Why is it so? I want to insert a node in my application. How can I achieve this with this constraint appearing in my application.


  2. #2
    sammy is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    145
    The reader object is very useful and advantageous by its feature of very fast forward but it can be used only for read-only processing of an application. As you have mentioned they do not allow traversing a document in different directions and also they do not allow writing information to XML document. For doing this and for handling your requirement of insert a node in your application you must make use of XML DOM which has XmlNode class having these abilities and features.


Latest Article

Network Security Risk Assessment and Measurement

Read More...