From: Joe W. <jo...@gm...> - 2010-07-28 13:50:38
|
Very interesting discussion; I second all that Dan said about his use cases. Just a note on Adam's e-mail: > The new user customisable metadata becomes a simple key value store > and is indexed on document id and unique key name. Each value follows > XQuery datatype rules and may be either an atomic value or a sequence. > > We then establish a metadata axis which is available in XQuery. From > here we can use the standard predicates and update facilities of > XQuery to maintain the metadata. The context of the metadata axis > would always be the document root of the current node as metadata is > on a per-document level, not a per-node level. The metadata:: axis strikes me as similar in notion to the MarkLogic property:: axis, although the latter stores metadata as an XML node rather than key/value pair. See: http://docs.marklogic.com/4.1doc/docapp.xqy#display.xqy?fname=http://pubs/4.1doc/xml/dev_guide/properties.xml I raise this as an existing implementation for comparison. Joe |