You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
I know there have been several posts discussing the ability to run
XPath type queries within Mongo. With that said, I wondered if
something like a basic XPath to Mongo syntax would be helpful ...
something similar to what was done for the SQL to Mongo syntax
mappings. I'm curious whether anyone has already done/started
something like this. I've created a basic XML document (and an
equivalent JSON document) and am now in the process of creating use
cases with the equivalent XPath and Mongo syntax for each use case.
The languages will not always map exactly and there will by no means
be a complete mapping of XPath to Mongo, but I just thought something
like this would be very valuable ... especially for those with a
background in XML databases (XQuery/XPath). My gut feel is that most
users would not need a complete XPath implementation ... most queries
only leverage probably 10 to 20% of the XPath features.
I'm interested in whether people would find this useful and whether
anyone has already started/completed such a task. If anyone would
like to help, that would be good as well. Something like this could
be helpful until the time when/if Mongo would natively support XPath
type queries.