Hi,
some readers on this list may be interested to know that there's a job
opening at the OECD in Paris, France, for an XML Web programmer who
should, among other things, be knowledgable of MarkLogic. For the full
details, please see here:
http://www.oecd.org/hrm/vacancies (job number 3418).
Hi,
Is there a way to configure what the entity enrichment marks up? Two
things mainly:
1. Can I tell it not to mark up certain types that I don't need
enriched, such as urls? (looking for the right word there)
2. Given a type, such as e:date, can I configure what will match as
a date?
Hi Doug,
I tried your query, I think when the xpath returns mode than one node,
it will fail, but if I add for loop to it , it works fine.
I think the trouble for me now is: everyone thinks putting the
function base-uri(), document-uri() or xdmp:node-uri() at the end of
xpath should
Hi Florent,
based on document http://developer.marklogic.com/pubs/4.1/apidocs/AccessorBuiltins.html#fn
:base-uri
base-uri() returns xs:anyURI.
and in documetn http://www.w3.org/TR/xpath-functions/#func-base-uri
it also returns xs:anyURI.
Maybe I missed something in this problem, I checked
Hi Andrew,
You can use cts:entity-highlight to customize how you do your markup. It is
very similar to cts:highlight, and gives you lots of control as to what to
output. If you look at the code for entity:enrich, you will notice it uses
cts:entity-highlight. Using cts:entity-highlight, you
/20100121/bcf23af3/attachment-0001.html
--
Message: 4
Date: Thu, 21 Jan 2010 09:35:48 -0800
From: Danny Sokolsky danny.sokol...@marklogic.com
Subject: RE: [MarkLogic Dev General] intersect? nodes
To: General Mark Logic Developer Discussion
general
Paul,
You can use the
CONTENT_FACTORY_CLASSNAME=com.marklogic.recordloader.xcc.XccModuleContentFactory
trick to perform arbitrary processing in XQuery. Whether you call that
pre-processing or not is up to you :-).
In your particular situation, though, an XccContentFactory may not be
I should add that plug-in LoaderInterface implementations are not
documented, because I still consider them to be experimental. However,
it's simple enough to configure via LOADER_CLASSNAME, and fairly simple
to build by looking at the existing FileLoader.java and Loader.java
source code, as
Hi,
I am using 4.1-1 and do not have a problem. My client is using 4.1-4 and
gets the following error, which I have pinpointed to the MLJAM function here
(the second replace):
define function jam:_escape-string(
$s as xs:string
) as xs:string
{
(: These replaces funny because arg2
Hello everyone,
I installed Marklogic 4 and tested the query, now the query works with
all the functions at the end of the xpath in my case,
like base-uri(.), document-uri(fn:root(.)) and xdmp:node-uri(.)
and for base-uri() and document-uri(fn:root()), they don't even need
to dot .
Hi Neil,
I believe there was an incompatibility with mljam that has since been fixed.
In 4.1, there were a lot of regex fixes, and the old mljam code would throw
this exception (\ is an invalid regexp). The latest version of mljam fixed
this and the function now looks like this:
I'm experimenting with bulk-loading XML files by spawning background
tasks to load a set of files. I ran into this just now ..
2010-01-21 16:42:15.718 Notice: TaskServer: SVC-FILOPN:
xdmp:document-load(H:\MarkLogic\NDC/249106.xml, options
Hi Neil,
Your client should upgrade their MLJAM library to 1.2.1 which fixes this. You
probably already did, which is why you don't have a problem.
http://xqzone.marklogic.com/svn/mljam/releases/
-jh-
On Jan 21, 2010, at 1:34 PM, Neil Bradley wrote:
Hi,
I am using 4.1-1 and do not have
Hi David,
Perhaps you are opening many documents in one batch? How many files are there
in $files?
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 850
Helen Chen wrote:
Hi,
and in documetn http://www.w3.org/TR/xpath-functions/#func-base-uri
it also returns xs:anyURI.
Yes you're right. Weird, I first wrote my response, then
double checked in this same document and added the note about
xs:string... I guess I was not really awake at that
Hi David,
I can't remember, I think I did 500 or 1000 I figured more
the better so it would use less tasks ...
(but too many and it would time out).
Sorry, you already mentioned that..
But doesn't this imply that xdmp:document-load() doesnt
close the file when its done. ??
Yeah, doesn't
Jason,
I have solved the problem, but I it is wrong to say this is a problem with
MLJAM as such. In fact, I had NOT updated my version, and the older MLJAM
still works fine without the fix in ML 4.1-1.
I tried the following code in CQ under both versions of ML, and it works
fine on my MK 4.1-1,
Hi All,
I am learning XPath and Xquery, i am trying to implement the following query.
But i need some inputs to get proper solution.
here you go with sample XML :
Book
Unit
Lesson
0.0.a
/Lesson
/UnitUnit
Lesson
0.0.a.a
/Lesson
/UnitUnit
Lesson
0.0.a.b
/Lesson
/UnitUnit
Lesson
0.0.a.c
/Lesson
18 matches
Mail list logo