This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a requirement to read XML file in which Node is having two attributes with values. I have to read this Node and its two attribute as it appears in XML file(eg:confirm="Always" acknowledge="Always) and print in Excel file.
The code for this requirement I have written is as follows
... and what that means is that the two forms are semantically equivalent, and should not be treated as if they were different in any way - that would violate the XML specification (and also the way all XML tools handle XML).