Hi all, I'm developing a Tagging system for blog application /blogsystem/ ..../posts ......../entry_1 (1)
/blogsystem/ ..../tags ......../tag1 (2) ............./tags ................+xxx = [/blogsystem/posts/entry_1,/blogsystem/posts/entry_2] (3) ................+yyy = [/blogsystem/posts/entry_1] ......../tag2 ............./tags ................+xxx = [/blogsystem/posts/entry_1,/blogsystem/posts/entry_2] (4) ................+zzz = [/blogsystem/posts/entry_1] where (1) name of post (2) name of tag (3) Each tag value is weakly refer to many posts by path (4) I have duplication here but don't know how to remove. My questions: + How to query posts by a tag? Because xxx,yyy,zzz are dynamic properties so I don't know how to query based on dynamic property name. + (jcrom users): Suppose I get all tags by their property name. Because I allow query on partial property name (ex. x instead of xxx), I can't find a smart way to get property values. + Is there other way to organize a similar structure to easily query ? I'd appreciate your helps. Thank you, Van -- View this message in context: http://www.nabble.com/Xpath-query-based-on-dynamic-property-name-tp20126431p20126431.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
