John Gray <jgray@azuli.co.uk> writes:
> This is the reason why xpath_table allows you to specify an
> identifying field (usually a primary key but doesn't have to be)- the
> solution to your question is to join an xpath_table that just fetches the
> document number against the primary key, e.g.:
John, do you think anything could be done in the pgxml documentation to
make this usage pattern clearer?
regards, tom lane