Hello,

Picture the following data type in the data module (@ signifies property):

article1
  @language = "english"
  tags
    @tag = 001
    @tag = 002

article2
  @language = "english"
  tags
    @tag = 002
article2
  @language = "german"
  tags
    @tag = 001

The type has the property language and sub properties containing tags 
properties. Language is on level 1 and tags on level 2. 

How do we construct a query that has conditions on different levels? For 
example, if we want to return all articles with language "english" and tag = 
"002"? Both SQL and XPATH examples  are welcome.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=77c99efc-c3bd-4f3b-a765-8c3e25ed63fd


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to