existdb_get_xquery_snippet
Get ready-to-use XQuery code snippets for common eXist-db tasks like storing documents, full-text search, RESTXQ, HTTP client, security, XSLT transformation, and collection queries.
Instructions
Returns a ready-to-use XQuery code snippet for a common eXist-db programming pattern. Available topics: store-document, fulltext-search, restxq, http-client, security, transform-xslt, collection-query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Snippet topic, e.g. 'store-document', 'fulltext-search', 'restxq', 'http-client', 'security', 'transform-xslt', 'collection-query' |