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.
e.g. if i have created a DOM file like <customer><fname>abc</fname><lname>xyz</lname></customer>, the corresponding string turns into:
I am sure I am missing out something very basic here, but I am not sure what.
Would be glad if anybody can help !
Here's my code for the same: