I'm struggling a little bit to understand how to do a more complex query. Let say I have a model like this:

/blog
/blog/name = "Dan's Blog"
/blog/author = "Dan Diephouse"
/blog/entry
/blog/entry/title = "Jackrabbit"
/blog/entry/content ....

I want to do a query where I select the blog node where /entry/title = "Jackrabbit" OR /blog/author = "Dan Diephouse"

In my own perverted SQL syntax: select /blog where author = "Dan Diephouse" or entry/title = "Jackrabbit"

I don't see how it's possible to create an SQL syntax where you test for properties both on the node you're selecting and on it's child though. Can anyone enlighten me?

Thanks,
- Dan

--
Dan Diephouse
MuleSource
http://mulesource.com | http://netzooid.com/blog

Reply via email to