PhoenixmlDb.XQuery

IMetadataProvider

Provides document metadata resolution for the XQuery execution engine.

#IMetadataProvider

Namespace: PhoenixmlDb.XQuery

Provides document metadata resolution for the XQuery execution engine.

#Methods

#GetAllMetadata(PhoenixmlDb.Core.DocumentId)

Resolves all metadata key-value pairs for a document.

Parameters:

  • documentId — The document to query.

Returns: All metadata key-value pairs.

#GetMetadata(PhoenixmlDb.Core.DocumentId,String)

Resolves a single metadata value by document ID and key.

Parameters:

  • documentId — The document to query.

  • key — The metadata key.

Returns: The raw byte value, or null if the key does not exist.