Xmllint XPath set is empty error



I am looking for date added and not the date modified.



<project>
<department>
**<added><date></datetime></created>**
<modified><date></date></modified>


I have tried



xmllint --xpath '//@datetime/text()'


But I get the error "XPath set is empty"


Any help is appreciated.


No comments:

Post a Comment