Use this function to return field names mapping to XPaths referencing the field values. DRECONTENT can be used as the field name when assigning into the document content. The DREDATE field and any field names ending with _DATE are converted to a standard date format using the getDateFormats function.

Inputs: xml (XmlDocument), document (Document)
Outputs: xpaths (table:{string->string} or table:{string->list:{string}})
See also: getDateFormats


function myPrefix_getEntryMetadataXPaths(xml, document)
   return { TITLE="~/atom:title", LINK="~/atom:link[@rel=alternate]/@href" }