On Thu, 01 Oct 2009 05:25:41 -0700, Selven Xavier
<[email protected]> wrote:
Hi Team,
Need clarification on usage of “collection” and “document” in “domain
scope”
drop down list under Content Processing -->Domain screen in Admin Screen
We created domain with “directory” as “domain scope” in drop down list
and
uri as /. Then we attached pipeline HTML conversion and Status Change
Handling. When we drag and drop an html file under / location using
webdav
or doucment load API. Two files are created with the extension html and
xhtml.
But when we change the domain scope from “directory “to “collection” or
“document”, those two files(html and xhtml ) are not created. Can anyone
help us on this regards; if possible with example.
A collection scope makes all CPF actions trigger off the document being
in the indicated collection. In MarkLogic Server, a collection is a piece
of
metadata associated with the document. It is not related to the URI of
the document in any way. Various builtin functions allow you to manipulate
the collection: xdmp:document-set-collections,
xdmp:document-add-collections,
xdmp:document-remove-collections, and xdmp:document-get-collections.
You can also set it when you create a document via xdmp:document-insert
(it is one of the parameters). If you want a collection to be
automatically
added when you insert via WebDAV what you need to do is set the collection
on the (database) directories where you are loading content and enable
inherit collections on that database.
//Mary
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general