Hello there,
I just want to do a simple xpath expression but I can't get it works when I use this XML document
<?xml version="1.0" encoding='utf-8'?> <feed xmlns="http://example.org" xmlns:abc="http://abc.example.org"> <title>Projects</title> </feed>
The expression "exquery //title" does not return anything from the CLI once I open the database containing only that file.
But it works with this file
<?xml version="1.0" encoding='utf-8'?> <feed xmlns="http://example.org"> <title>Projects</title> </feed>
It looks like having both xmlns and xmlns:abc namespace attribute creates a problem. My real use case is atompub feed document which the 2 first lines looks like this:
<?xml version="1.0" encoding='utf-8'?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
Any idea? I'm using a 7.2.2 snapshot, thanks.