RE: [MarkLogic Dev General] Problem creating a SEQUENCE in XCC to passto xquery function

2010-03-13 Thread Lee, David
I got one step further with this. the 3 arg setNewVariable is already calling valueVactory.newSequence I got further by replacing it with this request.setNewVariable( new XName(, dirs), ValueFactory.newSequence(dirs.toArray(new XdmValue[dirs.size()]))); Now I got

RE: [MarkLogic Dev General] Problem creating a SEQUENCE in XCC to passto xquery function

2010-03-13 Thread Keith L. Breinholt
David, Have you thought about creating a simple XML document and passing that to your xquery? Might be easier. Especially if the documents you load are similar and/or configurable. Just a thought. Keith L. Breinholt breinhol...@ldschurch.orgmailto:breinhol...@ldschurch.org From:

RE: [MarkLogic Dev General] Problem creating a SEQUENCE in XCC to passto xquery function

2010-03-13 Thread Keith L. Breinholt
Let me rephrase that: If you are backing up or loading the same or similar sets of documents and directories it might be easier to create an XML configuration file that you can pass for each run. Keith L. Breinholt breinhol...@ldschurch.orgmailto:breinhol...@ldschurch.org From: