jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MARTINEZ Antonio" <Antonio.Marti...@alcatel-lucent.com>
Subject Query for objects with reduced set of attributes
Date Tue, 15 Jul 2008 22:06:07 GMT
Hello,

If I do query

  //root/obj_level_1/obj_level_2

I get all obj_level_2 objects, these containing all its attributes (say
attr1, attr2, attr3, ...)

Is it possible to formulate a query to get all obj_level_2 objects with
a reduced # of attributes per object?  I tried

   //root/obj_level_1/obj_level_2/@attr1  , trying to get all
obj_level_2 objects with only attr1, but I get the same result as with
the previous string

Thanks,
Antonio

Mime
View raw message