Berkeley DB XML Reference Guide:
Berkeley DB XML XQuery Extensions
PrevRefNext

dbxml:metadata()

dbxml:metadata($qname as xs:string) as xs:anyAtomicType?

dbxml:metadata($qname as xs:string, $node as node()) as xs:anyAtomicType?


Description: dbxml:metadata()

The dbxml:metadata() extension functions return the named metadata items from the document to which the specified node belongs. If the specified metdata does not exist in the document specified by $node, the empty sequence is returned, otherwise the type of the item returned is the same as the type of the metadata set in the document. If the context item is not a node, an error is raised [err:FODC0001].

Parameters
$qname $node

PrevRefNext

Copyright (c) 1996-2009 Oracle. All rights reserved.