AnsweredAssumed Answered

XPath or Lucene query

Question asked by guillaumefrancois55 on May 23, 2007
Latest reply on May 23, 2007 by guillaumefrancois55
Hello, I'm searching to get the list of nodes which have a link to a sub-category but I can't to get the Xpath or Lucene query to get it.

Could you help me ?


My subcategory is :
/{http://www.alfresco.org/model/content/1.0}categoryRoot/{http://www.alfresco.org/model/content/1.0}generalclassifiable/{http://www.alfresco.org/model/content/1.0}PersoCatRoot/{http://www.alfresco.org/model/content/1.0}PersoCatFirstChild

with nodeRef : workspace://SpacesStore/0e0a9c6b-02fd-11dc-be95-a99a08d83d68



One of my node is at :
/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}MyRootSpace/{http://www.alfresco.org/model/content/1.0}MyRootSpaceFirstChild

with property :
- name : {http://www.alfresco.org/model/content/1.0}categorie
- value : –collection– workspace://SpacesStore/0e0a9c6b-02fd-11dc-be95-a99a08d83d68
- Property Type :    {http://www.alfresco.org/model/dictionary/1.0}category   



Another one of my node is at :
/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}MyRootSpace/{http://www.alfresco.org/model/content/1.0}MyRootSpaceThirdChild

with property :
- name : {http://www.alfresco.org/model/content/1.0}categorie
- value : –collection– workspace://SpacesStore/0e0a9c6b-02fd-11dc-be95-a99a08d83d68
- Property Type :    {http://www.alfresco.org/model/dictionary/1.0}category

Outcomes