Rojan
The range element indexes configuration XML you are getting from one
database will act as the infut XML for the other. I guess following sample
query will help you for loading the range indexes into other Marklogic DB.
import module namespace admin = "http://marklogic.com/xdmp/admin";
Hi ,
I would like to create all the indexes by getting it from a remote data base
where its already available
i am using
admin:database-get-range-element-indexes($config,
xdmp:database("myDatabase") )
to get all the indexes i have used in one data base.
Please suggest me how can i load all thes
Hi Abhishek,
I think the http-get requests are *synchronous*, not asynchronous; that is,
they will wait until they get the results to move on to the next thing in the
query. So I am not sure I understand your question. For example, if you run
the following:
let $x := (xdmp:http-get("http://m
In general, Corb is an aggressively minimalist tool. It does content
reprocessing in bulk, and does so with a bare minimum of options.
Corb does support arbitrary queries, with the URIS-MODULE option. Simply write
the query that returns the uris you want to return. For directories, use
cts:uris
Hi Geert and Joe,
Thanks for the suggestion. I read the article, and I can make
chameleon schema work for me.
One question here is: it looks like including chameleon schema will
make the element to use the parent schema's target namespace. It works
good if I want them to be in the same namespace.
Hi Folks,As per my understanding of HTTP request through Marklogic HTTP APIs is that they are asynchronous by nature.Between the HTTP service requests the behavior is asynchronous.Is the calling module execute asynchronously with invoked HTTP requests ie sample querylet $x := xdmp:http-get($uri1,()
Yes, changing the MIMETYPE from "application/xslt+xml" to "application/xml" for
".xsl" files allowed my XSLTForms code to work correctly in IE.
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten
Sent
Hi David,
Did changing the mime-type help? I'm not certain, but can't really think why
MarkLogic Server should behave differently because of this changed mime-type
setting..
Kind regards,
Geert
-Oorspronkelijk bericht-
Van: general-boun...@developer.marklogic.com
[mailto:general-boun.
So, apache returns "application/xml" for ".xsl" files and ML returns
"application/xslt+xml".
I changed the MIMETYPE in the admin console for "application/xml" to be for
extension ".xsl", and now ML will behave like apache (at least in the case of
.xsl).
And thus, my code will work in IE (whic
Wow, that was nearly a year ago.. :)
I could imagine that IE is still using the mime-type specified in XSLT 1.0. The
XSL FAQ (http://www.dpawson.co.uk/xsl/sect2/mimetypes.html) is talking about
text/xsl. The mime-type you mention is specified by XSLT 2.0. You can adjust
the mime-types in the ad
Nice.. :)
-Oorspronkelijk bericht-
Van: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] Namens Joseph Bryan
Verzonden: woensdag 13 juli 2011 18:15
Aan: General MarkLogic Developer Discussion
Onderwerp: Re: [MarkLogic Dev General] question about org
Hi Helen,
You are right, I forgot about child elements within a complexType.
I took a closer look and it looks like the easiest way to get more or less what
you want by assigning the common schema the same target namespace as your other
schemas (so they all use the same namespace), and use xs:i
Hi Helen,
The XML Schema design pattern that allows you to import a "common"
schema and have it inherit the namespace of the schema that imports it
is sometimes called a "Chameleon" namespace design.
This is achieved by placing the "common" schema in the empty
namespace, and using the following m
I pretty much gave up on trying to figure this out a while ago and just stuck
with using Firefox to test my code, but now I need for it to work in IE, so I'm
back...
The response that MarkLogic is sending seems to be for a content type of
"application/xslt+xml" for the .xsl files and I'm wonder
Hi Geert,
I played a little bit, I created a common schema with type PhoneNumber
in namespace "http://www.aa.com/datamodel/common"; , and then a
contactInfo schema in namespace "http://www.aa.com/datamodel/account";
which imports the common schema. The schema is as following:
common schema:
ht
Hi,
I have just implemented CORB (implemented as jar)as a processing tool !
I'm successfully able to run this tool.But I found there are some
limitations to it:
1) It reads only collection type and not other types(like directory ,
Query) etc. 5) If somebody can explain what all ways I
16 matches
Mail list logo