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.
Is the crimson's xpath utility (XpathAPI) fully compatible to the xPath standards.I have tried some xpaths on a dom , but did not get expected results.I have following strict Xpath rults , this made me feel that this api mught not be following xPath strictly.
XML under consideration: <?xml version="1.0" encoding="UTF-8"?> <father age="70"> <son> <age>29</age> </son> <son name="Kumar"> <age>22</age> </son> </father>
and Xpath /father/son/@name/text() should return Kumar but I am getting nothing. Why is that so ?