Does anyone out there have a URI convention they're using to identify documents stored in a MarkLogic database?
My use case would be a function that can take as an argument either an HTTP address or the URI of a document in the MarkLogic database. Obviously, as database documents can have URIs that look just like Web addresses, I need to distinguish between http://foo.bar.baz/doc.xml = Website, use xdmp:http-get() http://foo.bar.baz/doc.xml = document in database, use fn:doc() I'm figuring we can use a scheme identifier like "ml" and therefore identify the second case with the URI ml://http://foo.bar.baz/doc.xml but is there a community practice for this sort of thing? DS -- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 801079, Charlottesville, VA 22904-4318 USA Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903 Email: [EMAIL PROTECTED] Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/ _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
