02-24-2009 04:21 AM
<project id="">
<properity1 />
<properity2 />
…
..
</project>
02-24-2009 06:35 PM
String xmlTag="<"+searchIn+">"+searchFor;
SearchParameters sp=new SearchParameters();
sp.addStore( new StoreRef(StoreRef.PROTOCOL_WORKSPACE,"SpacesStore"));
sp.setLanguage(SearchService.LANGUAGE_LUCENE);
sp.setQuery("PATH:\"" + "/app:company_home/cm:MyProject/cm:Projects/cm:Proposed/cm:SubmittedProject" + "//*\" AND TYPE:\"" +
ContentModel.TYPE_CONTENT + "\" AND TEXT:\"" + xmlTag + "\"");
ResultSet resultSet = getSearchService().query(sp);
where searchIn: the xml Element02-24-2009 10:10 PM
02-25-2009 06:29 AM
04-15-2009 10:28 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.