I think I found the cause.
This has something to do with namespaces. If I use:
db:attribute('db', ('6LE007573', '6DC007573'), '**:book'*)
its working in the RESTXQ context as well. But it is strange because the content in the database does not use any namespaces.
Cheers Johannes
Am 01.12.2021 um 14:17 schrieb Johannes Bauer:
Hi,
I want to use the attribute index to access attribute nodes.
The following calls in the DBA web interface are working as expected:
db:attribute('db', ('6LE007573', '6DC007573'), 'book') db:attribute('db', ('6LE007573', '6DC007573'))
They return the attribute nodes with the given values. The attribute index exists and is uptodate.
But in the context of a RESTXQ service the first one does not work. It does not return any attribute. The second one works strangely.
Any ideas?
Regards Johannes