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
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:
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: