From: Patrick B. <pat...@jo...> - 2010-07-28 15:55:23
|
I really like the concept of implementing metadata axis. After reading over MarkLogic's implementation, I think it may be a very good idea to essentially mimic them. It looks like their system would accomplish most of the goals expressed here thus far. And I'm always a proponent of consistency. Thoughts? Cheers, Patrick On Wed, Jul 28, 2010 at 9:50 AM, Joe Wicentowski <jo...@gm...> wrote: > 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 > -- Patrick Bosek Jorsek Software Cell (585) 820 9634 Office (585) 239 6060 Jorsek.com |