Thank you this is great help.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kelly Stirman Sent: Sunday, November 08, 2009 10:52 AM To: [email protected] Subject: [MarkLogic Dev General] RE: WebDev at Root of database Hi David, I suggest reading section 8.1.3 of the administrator's guide: http://developer.marklogic.com/pubs/4.1/books/admin.pdf The unique identifier for a document in MarkLogic is the document URI. Slashes in document URIs correspond to directory structures in MarkLogic by default. For files to be viewable by a WebDAV server, they must belong to a directory, and that directory must belong to the root directory configuration of the WebDAV server. So, in your example: SPL/file.xml /SPL/file.xml The first URI does not belong to a root directory, so it cannot be seen by a WebDAV server, whereas the second document does belong to root directory of "/", so it is seen by your WebDAV server when the root directory is configured to be "/". If you had set your root to be "/foo/", then your WebDAV server would not have seen this document either. This behavior is consistent across the supported operating systems for MarkLogic. However, different WebDAV clients may exhibit somewhat different behaviors. Kelly Message: 2 Date: Sun, 8 Nov 2009 07:23:13 -0800 From: "Lee, David" <[email protected]> Subject: [MarkLogic Dev General] WebDev at Root of database To: <[email protected]> Message-ID: <dd37f70d78609d4e9587d473fc61e0a713afb...@postoffice> Content-Type: text/plain; charset="us-ascii" I'm trying to setup a WebDav connection and I cant get it to "see" everything in the database. The Root directory is a required field. If I leave it blank, then the GUI sets it to "/" If I put files (using XCC) into the top level "directory" (i.e a uri like "pa2010.xml" ) then WebDav doesnt see it. I played around with various settings and I cant figure out any setting for WebDav that puts its view at the true root of the database. Interestingly I've found that "/" is not treated specially. That is these URI's are distinct atleast as far as WebDav is concerned SPL/file.xml /SPL/file.xml Any suggestions ? or is this just something I have to work around. _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
