Re: [MarkLogic Dev General] Loading files with fixed length fields

2014-06-17 Thread David Lee
xmlsh can do this easily with fixed2xml + xsplit + the marklogic module (or mix and match the output of any stage to your favorite ML loading tool like record loader or mlcp) If run entirely within xmlsh then it will all run in the same JVM as one process , and hence generally be faster. fix

Re: [MarkLogic Dev General] Loading files with fixed length fields

2014-06-17 Thread Michael Blakeley
I'm not sure what's going on with InfoStudio, but you ought to be able to do that with http://marklogic.github.io/recordloader/ and a content module. The documentation for CONTENT_FACTORY_CLASSNAME explains how that interface works, and provides sample code that you could modify. Or you could w

Re: [MarkLogic Dev General] Definition for Shallow time and deep time

2014-06-17 Thread Ron Hitchens
In XQuery, everything is an expression: values, sequences of values, functions, function calls, etc. An XQuery "program" is a tree of expressions, where some expressions are composed of other expressions. Here is an example of a main module which is a FLWOR expression: for $book := /book[

Re: [MarkLogic Dev General] Definition for Shallow time and deep time

2014-06-17 Thread David Ennis
Further to what Ron Hutchins explains: The lazy evaluation in MarkLogic can sometimes cause confusion in results of the profiler (and actually as well as some error messages). To get more granular results in the profiler, you can make MarkLogic less lazy by wrapping xdmp:eager around some of your

[MarkLogic Dev General] Loading files with fixed length fields

2014-06-17 Thread Ed Outhwaite
Hi, I'm loading some text files that have fixed length fields via Information Studio in MarkLogic 7. It uses an XQuery transform that should split the records via calls to fn:substring and generate a document for each row via xdmp:document-insert, however the only documents that are being ins

Re: [MarkLogic Dev General] Tools for xquery Code Coverage and Code Generation

2014-06-17 Thread Jakob Fix
cool! cheers, Jakob. On Tue, Jun 17, 2014 at 12:53 PM, Whitby, Rob wrote: > Xray has code coverage in v2.1. > https://github.com/robwhitby/xray/tree/v2.1 > > > From: manoj viswanadha > Reply-To: MarkLogic Developer Discussion > Date: Tuesday, 17 June 2014 08:06 > To: MarkLogic Developer D

Re: [MarkLogic Dev General] Tools for xquery Code Coverage and Code Generation

2014-06-17 Thread Whitby, Rob
Xray has code coverage in v2.1. https://github.com/robwhitby/xray/tree/v2.1 From: manoj viswanadha mailto:manoj.viswana...@gmail.com>> Reply-To: MarkLogic Developer Discussion mailto:general@developer.marklogic.com>> Date: Tuesday, 17 June 2014 08:06 To: MarkLogic Developer Discussion mailto:g

[MarkLogic Dev General] Definition for Shallow time and deep time

2014-06-17 Thread priya dharshni
Hi All , Please let me know the exact definition for shallow and deep time shown while profiling the xquery in qconsole. On mouse hover it shows me - Shallow time is - Time spent in the expression deep time is - Combined time spent in expression and Sub expression. What is meant by sub expre

[MarkLogic Dev General] Tools for xquery Code Coverage and Code Generation

2014-06-17 Thread manoj viswanadha
Hi all, Can anyone suggest some tools for xquery Code Coverage and Code Generation. Thanks in advance, Manoj ___ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general