This is an implementation of querying by attribute e.g. "ex:favouriteReads[@index=banks-exc] @id" - it splits the string into either path or 'where' objects and recurses through the input document to pick out children that match.
This branch also allows @index and @id to be returned as final (in addition to @value) and fixes a test that is broken in master.
This is an implementation of querying by attribute e.g. "ex:favouriteReads[@index=banks-exc] @id" - it splits the string into either path or 'where' objects and recurses through the input document to pick out children that match.
This branch also allows @index and @id to be returned as final (in addition to @value) and fixes a test that is broken in master.