PhoenixmlDb.Core

ContentType

Specifies the content format of a stored document.

#ContentType

Namespace: PhoenixmlDb.Core

Specifies the content format of a stored document.

Both XML and JSON documents are first-class citizens in PhoenixmlDb. Both are parsed into the XQuery Data Model (XDM) and can be queried with XQuery expressions via

. The content type is typically auto-detected (see

) but can be set explicitly.

#Fields

Name Description
Json JSON content, parsed according to RFC 8259 and mapped to the XDM via the XQuery 3.1 JSON representation.
Xml XML content, parsed according to XML 1.0 rules.