Notes in preparation for a blog post or article.
- Whitespace in the original document
- As entered, or introduced/manipulated by an editor's functions, such as oXygen's "Format and indent" (and settings thereof), or features, such as Atom's default behavior of trimming trailing whitespace
- How the document is exposed to the XQuery processor
- Fetched (get) via a query from the network (
doc()
,hc:send-request()
) or file system (file:read()
,xmldb:store-files-from-pattern()
) - Uploaded (put) to the database and stored via REST, WebDAV, XML-RPC
- Included inline in a query, as an in-memory node; whitespace in in-memory nodes is affected by
boundary-space strip|preserve
(default isstrip
)
- Fetched (get) via a query from the network (