In the past, I've written XQuery modules which populate a particular sequence of elements in order (adding in the relevant values and returning the result). I had a brief discussion with Philip Fennell today who informed me of a useful aspect of XQuery: Element and Attribute constructors.
Below is an example of how they can be used with MarkLogic - hopefully useful if you want to generate sequences from the raw components: name and value pairs:
Subscribe to:
Post Comments (Atom)
Blog Archive
-
►
2011
(35)
-
►
June
(6)
- MarkLogic/XCC: Copying a Module with User Content ...
- MarkLogic: clearing a forest in a database program...
- MarkLogic: Enabling debug options when using the S...
- Linux: SCP syntax and structure note
- MarkLogic/XCC: Installing Modules Programatically
- Eclipse: Installing XQDT (and DLTK) on Eclipse Ind...
-
►
June
(6)
-
▼
2010
(43)
-
►
September
(7)
- MarkLogic: Creating Multiple Range Element Indexes...
- MarkLogic: Listing all Collections in a Database
- MarkLogic: Basic Database Cloning Script
- MarkLogic: Estimating the number of documents cont...
- MarkLogic: Search: Compound OR Queries
- MarkLogic: XQuery: Check for the presence of an el...
- MarkLogic: XQuery: Type Validation using xsi:type
-
▼
April
(9)
- MarkLogic: XQuery - Creating XML Elements and Attr...
- MarkLogic: XQuery Function Overloading
- MarkLogic: Viewing Installed Modules on a Server
- MarkLogic: Dump the XML Configuration of a given D...
- MarkLogic: Managing "slow" document delete times
- MarkLogic (x64) install on Ubuntu 10.4
- MarkLogic: Techniques for querying in-memory fragm...
- MarkLogic: Query Optimisation Notes (Part One: get...
- MarkLogic Search Note: cts:search vs. XPath
-
►
September
(7)
0 comments:
Post a Comment