Hi Eric,
I think the loss of attributes is being caused by the fact you are actually
recreating the complete element when you try to update the text, without
copying the original attributes while doing so. :-)
Pretty simple to fix I guess, but I think it is better to change your path
Hi Mindie,
Your code seems to contain a typo. You say you define getTeasers locally, and
you do so with the local prefix. But in the following code you are calling
getTeasers with the common prefix. I am not sure whether that should make any
difference, and it might not be relevant to your
Open the admin page and click 'confirm'..
;-)
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of
dit
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit
bericht kunnen geen rechten worden ontleend.
From: Florent Georges [mailto:[EMAIL PROTECTED]
Sent: dinsdag 4 november 2008 16:04
To: Geert Josten
Cc: MarkLogic General ML
Subject: Re: [MarkLogic Dev General
Hi,
When passing an empty sequence where a node() is expected, the function does
not execute, nor is a 'coercion' error is raised either. Is it supposed to work
like this? With following example I would expect either the string 'blabla' or
an error, but instead I am getting 'bla'.
-
If you do not wish to have this behavior, you can disable
function mapping by adding the following to your XQuery
module's prolog.
declare namespace xdmp=http://marklogic.com/xdmp;;
declare option xdmp:mapping false;
Wayne.
Should one add those lines to the file that
Feick
Sent: donderdag 6 november 2008 20:15
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Empty argument fails silently?
The caller.
On Thu, 2008-11-06 at 20:11 +0100, Geert Josten wrote:
If you do not wish to have this behavior, you can disable
Hi Tim,
For the sake of completeness, there are basically two ways of constructing
attribute nodes:
Literal:
myatt=myvalue
example: myelem myatt=myvalue /
Computed:
attribute myatt {myvalue} or attribute {myatt} {myvalue}
Hi Eric,
Did you have a look at the man pages of Tomcat? Google turned up with this:
http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html
Which mentioned two parameters that might be of interest to you:
compressableMimeType and compression
Kind regards,
Geert
Drs. G.P.H. Josten
Hi all,
I was just wondering if there was anyone who ever tried to test match patterns
in Xquery or MarkLogic? If not, does anyone have an idea? I don't really need
this functionality, it is more out of interest whether it would be possible.
One solution I can think of, is just prepending //
It is nothing fancy, that way you simply write '//' into the contents of the
script element, which is JavaScript line comment marker..
:-)
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Erik,
Xquery files are stored just like other files, but in a different database. Try
using something like:
xdmp:eval(
'
boolean(doc(here.xqy))
',
(),
options xmlns=xdmp:eval
database{xdmp:database('Modules')}/database
/options)
Mind though, the user executing
Hi Danny,
Tjerk is my colleague. We already have something like that, using the owner
field of locks themselves, as we needed locks over multi-transactions anyhow.
But we need absolute 100 percent guarantee that if two requests are challenging
for an exclusive lock on the same document, only
...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: Tuesday, February 10, 2009 1:37 PM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Atomic
andexclusivelockondocuments(accross a cluster)
Yes, and to be clear, what I was talking about was to *not* use
for.
Hope that helps,
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert
Josten
Sent: Wednesday, February 11, 2009 12:06 AM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev
Hi Eric,
I would suspect your browser, rather than MarkLogic Server. Note that MarkLogic
Server decodes request parameters automatically, so even if it get's encoded,
once you retrieve it with xdmp:request-get-field('x'), it will already be
decoded, so you would not even notice this within
Hi Eric,
I am sure there are other ways to achieve what you want, but if you really
would like to do something like that, you could always resort to xdmp:eval
(most likely with isolationdifferent-transaction/isolation within the
options).
Be aware of the transaction mechanism if you start
of the do-update() function,
which is an
update statement? What exactly constitutes a unit of XQuery code?
Actually, I can test this myself using xdmp:request-timestamp()!
EP
Geert Josten wrote:
Hi Eric,
I am sure there are other ways to achieve what you want,
but if you
Maybe it is a bit harsh, but I think I stand by it. I know
what deadlocks are, and now how to avoid them in MarkLogic
Server. I just think that in a service-oriented software
package that, by design, will crash in the event of X (taking
all other App Servers, WebDAV and XCC connections with
Hi there,
I am running MarkLogic Server 4.0-1 on a WinXP laptop. I have added a user to
the security database in MarkLogic Server using the Admin interface and the
describe feature tells me that this user has default permissions (inherited
from a custom defined role). But an empty sequence is
Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: dinsdag 24 februari 2009 21:38
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General]
Xdmp:default-permissions() not working
to the test role as well..
Kind regards,
Geert
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: dinsdag 24 februari 2009 23:59
To: General Mark Logic Developer Discussion
Subject: RE
...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: dinsdag 24 februari 2009 23:59
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General]
Xdmp:default-permissions() not working?
Good news,
I have deleted all
Hi Florent,
The response body is merely an unparsed content string, not real binary. If you
know for sure that it is actually XML, you can try to use
xdmp:unquote($response[2]), that just might do the trick.
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Hi Taras,
I think you need to make sure whether it is the call with xdmp:http-delete()
that is causing the problem, or that it is a syntax problem in the xquery that
does the call. Try putting a try-catch clause around the xdmp:http-delete,
something like:
try {
xdmp:http-delete(...)
}
Hi Florent,
The WEBDAV servers accesses the database connected to it, not the file system.
So indeed you will have to move your modules to the Modules database and add a
WEBDAV server connected to that one.
To my personal opinion you are better off putting the libraries in the Modules
; Geert Josten
Subject: Re: [MarkLogic Dev General] Edit library modules
through WebDAV?
Geert Josten wrote:
To my personal opinion you are better off putting the
libraries in the
Modules database. Note that you can use the Security layer of
MarkLogic Server to apply that to the modules
worden ontleend.
From: Florent Georges [mailto:li...@fgeorges.org]
Sent: vrijdag 6 maart 2009 15:23
To: General Mark Logic Developer Discussion; Geert Josten
Subject: Re: [MarkLogic Dev General] Edit library modules
through WebDAV?
Geert Josten wrote:
If you are using CQ for development
FWIW, I cut and paste the following prolog into all my queries.
xquery version 1.0-ml;
declare default function namespace
http://www.w3.org/2005/xpath-functions;;
declare option xdmp:mapping false;
The first line assures I'm using standard XQuery (with useful
extensions
Deepak,
The suggestion by Florent is good. You are not required to use searching to get
quick results. Plain Xpath can be quick in MarkLogic just as well.
Next to this, you are explicitly testing for a 'dd' element. To be more
precise, you are testing for all child elements exactly, while
Hi,
Is there a way to search on document properties using cts:search? I would like
to combine restrictions on document properties with other criteria. I have now
added a predicate filter on the search result, but that doesn't look right nor
efficient.
Kind regards,
Geert
Drs. G.P.H. Josten
Of
Geert Josten
Sent: maandag 16 maart 2009 19:14
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Searching on document properties?
Hi Mike,
It is fixed filter on the search result, excluding document
that have a certain status marked with a document
terms are
indexed together.
See also http://markmail.org/thread/op3dsj2seetrodvk
-- Mike
On 2009-03-16 10:00, Geert Josten wrote:
Hi,
Is there a way to search on document properties using
cts:search? I would like to combine restrictions on document
properties with other criteria. I
Hi Wyatt,
Are you certain it is both the root of the same document? Note that the doc
function allows a sequence as first argument, returning the document node of
each uri in that sequence (for those that exist)..
I am using MarkLogic Server 4.0-1 and it does not allow me to insert or load
The signature for fn:doc() is fn:doc([$uri as xs:string*]) as
document-node()*. Therefore, since count(doc(mydoc)) is
returning 2, there must be two document-node()s with the same uri.
Are you sure your $requestURI variable contains only one value?
Kind regards,
Geert
Drs. G.P.H. Josten
Hi Stewart,
It is a mistake made in XSLT as well. The positional predicate operates on
document order. Your expression is literally searching for any xh:a element
that occurs as first xh:a element within its parent. That is quite something
different then ($div//xh:a)[1]..
:-)
Best regards,
.,
Hi Geert Josten,
I have tried all the options for the lock method, the
doucment is locked, but still other user can able to update
the document even though the lock is not yet released.
xdmp:lock-acquire(harmonyUsers.xml,
exclusive
.
Thanks,
EP
Geert Josten wrote:
Or alternatively, and with less typing, do the evaluation
outside the element constructor with the default namespace:
let $doc := doc('/blah.xml')
let $mytext := $doc/one/two/text()
return
a xmlns=http://myns;
b{ $text }/b
/a
Kind
-bounces@
developer.marklogic.com ] On Behalf Of Geert
Josten
Sent: Monday, March 23, 2009 12:59 PM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Difference between
eNode and Data
Node
Saptarshi,
I am
Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert
Josten
Sent: Tuesday, March 24, 2009 1:06 PM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Difference between eNode and Data
Node
Hi
Hi,
Is it correct that the MarkLogic built-in functions xdmp:document-load and
xdmp:document-get do not respect the encoding specification in the XML
declaration? They expect UTF-8 by default and otherwise try to consume the file
with the encoding specified in the options. Is there a way to
an encoding in a header
of the document on its own, and will default to UTF-8.
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: Wednesday, March 25, 2009 6:07 AM
it.
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: Wednesday, March 25, 2009 2:37 PM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Importing
Hi,
I am using the directory facilities of MarkLogic Server to store documents with
hierarchy. This works nice and all, allowing scoping search actions to subtrees
very easily. But it would be nice to be able to provide some kind of directory
listing as well. It is very easy to determin which
. There is likely a better way but this serves my purposes.
Darin.
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: Thursday, March 26, 2009 7:09 AM
To: General Mark Logic Developer
be a
function you can call on the 'properties' document to test
whether it is for a directory or an actual document.
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: Thursday, March 26
://developer.marklogic.com/pubs/4.0/apidocs/Extension.html
#xdmp:subbinary
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: Thursday, March 26, 2009 3:58 AM
To: General Mark
] issue with XPATH
If both sides of the = are (unsorted) sequences, then is
A=B in O((count(A)+count(B))^2)?
Eric
Geert Josten wrote:
Pradeep,
Yes, I think the result should be the same. It looks like
the first approach is interpreted as (doc(..)//b)[position() = 2].
Eric
...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: Thursday, March 26, 2009 5:14 PM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] issue with XPATH
Pradeep,
Yes, I think the result should be the same. It looks like
:)
set4{ $xml//p[2] }/set4,
(:set5 - This is the only one that should return a single node, p2.
The XPath should return the second instance of all p
descendants
of $xml. :)
set5{ $xml/descendant::p[2] }/set5
)
On Thu, 26 Mar 2009, Florent Georges wrote:
Geert
] }/set5
)
On Thu, 26 Mar 2009, Florent Georges wrote:
Geert Josten wrote:
Though I was surprised, I now think MarkLogic Server is responding
correctly.
Sounds like a bug to me. If you look at the definition of
a numeric
predicate (http://www.w3.org/TR/xpath20/#id-predicates
surprising results which helped
me come to this conclusion..
Kind regards,
Geert
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: zaterdag 28 maart 2009 11:29
To: General Mark Logic
I don't like this solution but can't think of anything else.
Personally I think this is a poor feature of MarkLogic.
Turning stemming on/off should not affect the content base
searched. Everything should be searched, with content in the
configured language gaining the benefits of stemming.
...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
David Sewell
Sent: 30 March 2009 14:56
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] stemmed searches
On Mon, 30 Mar 2009, Geert Josten wrote:
I don't like
Hi,
It might be interesting to look at the examples in paragraph 3.7.1.4 of the
Xquery rec: http://www.w3.org/TR/xquery/#id-whitespace
Note that these only concern direct element construction, not computed
construction like you are using.
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
Hi Deepak,
Though I guess there are ways to test whether a certain element exists within a
parent using cts function, it certainly doesn't provide features to count
occurences of a child within a particular parent. To gather these parents or
its children, you will still need an xpath
Hi,
There are some design flaws in your code, from a brief look. I would expect
non-element child nodes to get stripped from the result, I don't think you want
that. Next to this, your addnamespace extracts the prefix from the node at
hand, but none in your input has any. So I would expect
Mike,
There is another alternative, but I am not sure it suits your purpose.
It is the trace function, which causes 'event' messages to be written to the
ErrorLog.txt (not the acceslog though). You can turn trace logging on and off
at group level (Diagnostics configuration), but you can a)
/
Experience certainty.IT Services
Business Solutions
Outsourcing
Geert Josten geert.jos...@daidalos.nl
Sent by: general-boun...@developer.marklogic.com
04/29/2009 11:25 AM
Please
Hi Santhosh,
In XML databases there is no such thing as tables and record fields, so there
is no such thing as a autonumber field concept. But there are other concepts
that can be used to 'uniquely' identify content. Most importently, each
document in the database has a uri, with which you
Hi Santhosh,
There should be explicit transaction management functions in the XCC library,
but that requires a connection from Java or .Net.
You can also put the update statements in one Xquery and call the Xquery
through HTTP (or from XCC for the same matter). Statements in one Xquery file
the transaction1.xml in the marklogic
server. But acutally i do not what that to be created if any
one request fails. I guess there is no option to propagate
the transaction to both request. What is your idea?
Thanks and Regards,
Santhosh Rajasekaran
Geert Josten geert.jos...@daidalos.nl
Sent
Hi David,
I had been looking at the source code of performance-meters (see xqzone)
recently, and found comments that the connection pooling is being handled
transparently when creating a new session object. If I am right, then this
means that if you want to allow multi-threading and parallel
Hi Deepak,
To my knowledge, you cannot express a comparison between node values in
cts:query functions. You will have to search for documents containing these
elements first with cts:search, and apply a XPath predicate on the resulting
nodes, which restricts the results to the nodes that meet
Geert Josten geert.jos...@daidalos.nl
Sent by: general-boun...@developer.marklogic.com
05/06/2009 02:24 PM
Please respond to
General Mark Logic Developer Discussion
general@developer.marklogic.com
To
General Mark Logic Developer Discussion
general@developer.marklogic.com
cc
Hi Harv,
Did someone answer your question yet? I haven't seen any, so let me give it a
shot.
I am not certain what you mean by 10,000 Mb. Do you mean 10 thousand megabyte
as average size of documents? That sounds as awfull lot. You might mean 10
thousand KILObyte, which sounds more
Hi Santhosh,
As far as I understood properties are indexed automatically (requires no
specific configuration), so accessing them should be as quick as any other
fragment that has been indexed. Updating indexes whenever a document or its
properties is updated is part of the transaction, so that
Hi Tim,
Might just be noise. Searching markmail turned up the following:
http://markmail.org/message/capv6atdvvmirxeg
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Hi Tim,
I think that Danny means that deleted entries are only visible to users with
admin role. For all other users it is as if they are simply not there. Just
like when you inserted a document as admin without any document permissions,
then only admin users can see those..
Kind regards,
XPath expressions are evaluated against all documents in a
MarkLogic database:
/foo/bar
Just for the record, the spec
(http://www.w3.org/TR/xquery/#id-path-expressions) states the following:
A / at the beginning of a path expression is an abbreviation for the initial
step
Or putting or posting it to some Xquery behind a MarkLogic HTTP server that
does the unquote for you would work as well. That way you don't depend on XCC
library at all. One could debate about efficiency, but not requiring XCC to
load the content might be useful in some cases.
Kind regards,
Hi Bob,
I guess there is simply no other way. Just make sure you perform the two
actions as part of the same transaction, by comma-separating them in a single
newAdhocXquery call.
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hi Van,
I guess you haven't reloaded the documents into the database. Document have to
be delete and newly inserted to allow them to change from binary to xml format.
Whether documents are binary, text or xml is determined at initial insert only.
Kind regards,
Geert
Drs. G.P.H. Josten
Hi Tim, Shannon,
A cts:query(()) might result in the same as cts:and-query(()). The result of
the latter is described on
http://developer.marklogic.com/pubs/4.0/apidocs/cts-query.html#cts:and-query
Personally, but I am not an expert on this matter, I think cts:and-query(())
makes more sense.
Hi Bob,
I observed similar anomalies as well before, but they disappeared after a
restart of MarkLogic.
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10
and adding then removing default permissions.
Bob
From: Geert Josten geert.jos...@daidalos.nl
Subject: [MarkLogic Dev General] RE: permissions in a pipeline
To: General Mark Logic Developer Discussion
general@developer.marklogic.com
Message-ID
Steward,
Just to add: MarkLogic doesn't need this XML declaration in its storage itself.
But I can imagine that you may need it once extracted a document out of
MarkLogic. You can add this XML declaration to the response message when
sending back the contents over HTTP for instance. Danny
Hi Ivan,
Though there is no explicit way to hide a document, I guess there are plenty
ways to achieve what you are looking for.
The most important question is: who are you trying to hide the documents for?
Are those auxiliary files that have no real contents? Or are those sensitive
files,
Hi Tim,
I'm not an expert on co-occurrences, but it sound a bit like you forgot to add
the query parameter to the cts:frequency call. If that is not the problem, can
you include sample code to demonstrate your issue?
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
Hi Jakob,
You have to take the namespace into account. Declare the namespace and prefix the element names in your xpath, or prepend *: to the element names..
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Hi Jakob,
You are looking for unbuffered response streams, but sending of the response is
handled fully by the HTTP server. I don't believe you can influence that.
Giving it some more thought, I am afraid that allowing unbuffered responses
would break the idea of transactions. You don't want
, 2009 at 08:11, Geert Josten
geert.jos...@daidalos.nl wrote:
Hi Jakob,
You are looking for unbuffered response streams, but
sending of the response is handled fully by the HTTP server.
I don't believe you can influence that.
Giving it some more thought, I am afraid that allowing
As stuff gets more complex (modules, etc.), cq seems to hit
its limits (or is it me?). I therefore hoped that OxygenXML
would let me debug easily, but there as well the debugger
cannot find a module that is referenced like this in the main module:
import module namespace utils =
Hi Elangovan,
The broadcast about the release of 4.1 mentions a Library Services API,
including document versioning:
http://markmail.org/message/4tz47tivlocua3mb
I expect you can find more details about it on the MarkLogic website.
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
Never mind..
I forgot to apply xdmp:tidy to the result to convert the result from html
string to xml nodes..
Kind regards,
Geert
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent
Nice addition! When was this added? I hadn't noticed it before..
Is it mentioned in documentation what is available in the Modules folder, next
to what is described on the API pages (at which I personally look most)? And
would it be an idea to put the docu somewhere near the API pages as well,
Or just have each task update the summary document, each incrementing the
finished docs counter by one (if there is any)?
Note: that effectively serialize all tasks..
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof
I am wondering why storing it in the database at all. Why not calculate it on
demand? Putting an index on the boolean element should allow it to perform even
when you have processed many many many documents..
You might even try doing it without adding a particular index. It might be
covered by
Hi Jakob,
I am, quite brutely, doing things like this:
let $total-count := count(
xdmp:document-properties()/prop:properties/cpf:processing-status )
let $done-count := count(
xdmp:document-properties()/prop:properties[cpf:processing-status/text() =
'done' and not(cpf:state/text() =
Hi Jakob,
Directories cannot be renamed, but can be removed. To do this you could install
CQ on your server and run:
xdmp:directory-delete('/data/2009/07/14//');
Note: this will remove all child documents and directories.
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
are needed.
thanks,
-- Mike
On 2009-07-14 07:55, Geert Josten wrote:
Hi Jakob,
I am, quite brutely, doing things like this:
let $total-count := count(
xdmp:document-properties()/prop:properties/cpf:processing-status )
let $done-count := count(
xdmp:document-properties
Dear Saptarshi,
Apparently no one is feeling confident enough to share their experience, and I
have none of myself using the enrich api. I have done only limited enrichment
within MarkLogic and only with plain Xpath/Xquery.
It might help to send a mail to supp...@marklogic.com, if you really
'] )
= 2 0 0
I believe that '2' is the count of property fragments that
have prop:properties and cpf:state elements, ignoring the
value of cpf:state.
-- Mike
On 2009-07-14 13:38, Geert Josten wrote:
Mike,
No I hadn't, actually. But now I have. :-)
I have only little documents
Hi,
Jumping in in the middle, so I may be way out of line. Just having a wild
thought:
Isn't it possible to simply restrict on parent element by using a
cts:element-query? Which can be wrapped in another one to limit on parent-child
relations..
Kind regards,
Geert
Drs. G.P.H. Josten
You don't really need to. Just make sure you have an xquery version declaration
on top of all your files, and you can mix modules in any version..
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: donderdag 16 juli 2009 20:04
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] xquery version
You don't really need to. Just make sure you have an xquery
version declaration on top of all your
Hi Laurens,
Have you looked into the cts:element-values and related functions? These are
purely based on the MarkLogic Server indexes and are by far quicker than calls
to distinct-values.
And not sure if it makes difference, but you could also use cts:remainder
instead of xdmp:estimate with a
Hi Van,
You will need a trial license with Conversion option. You might want to ask for
Alerting and Entity Enrichment options as well, though I am not sure you really
need those.
To get a trial license there is a request form readily available in your
MarkLogic Server admin site. Go to the
By the way,
Are you aware that if you install the 'Default conversion option' into your
database, you only need to upload PDF documents into your database. The
insert/update will trigger PDF conversion automatically. This process starts
with calling the pdf-convert function, but performs
or is it possible to
perform such actions under 3.2 and 4.0?
Van
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
Geert Josten
Sent: Tuesday, July 28, 2009 12:41 PM
To: General Mark Logic Developer
1 - 100 of 1486 matches
Mail list logo