Returns the XML representation of the current document with some annotations. The annotations include things like the name and label of the document type, display names for users, branch and language name (for all these things, otherwise only the numeric IDs would be present), and annotations to the fields.
<p:annotatedDocument [inlineParts="..."] />
In contrast with most other elements, if you request the live version of the document but the document doesn't have a live version, this element will automatically fallback to the last version, so there will always be a d:document element in the response.
The p:annoatedDocument element can have an optional attribute called
inlineParts, which can have as value "#all" or "#daisyHtml". In case #daisyHtml
is specified, the part content of all Daisy-HTML parts will be inlined (though
without any processing applied to them, thus unlike
A d:document element with annotations.