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.
That simply attempts to test if there is a child which is a "Firstname:" element. Of course there can't be one because that's not a valid name for an XML element. Start by describing the actual test which you want to do. Then write an XPath expression for that test. (Post the description here if you can't proceed.)
Joined: Oct 20, 2006
Hi Paul & Gamini,
I managed to get it working using test="contains(.,'Firstname:')".