Argonia wrote:
My question is what is in this function.
Unless I had access to the source code, I wouldn't have a clue (nor would I care). If I were to surmise a guess, the class has some private member variable (e.g., file pointer or handle) that keeps track of when a file has been read or not.
Argonia wrote:
I can't change the given XML Document. I have to get some of the nodes of the first and add them to the second Document .
You can either remove unwanted nodes from the first and write the balance to the second, or copy wanted nodes from the first to the second. The net result would be the same.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous