AnsweredAssumed Answered

XPath query fails

Question asked by leonardo.celati on Jun 3, 2014
Latest reply on Jun 3, 2014 by kaynezhang
I am trying to execute a simple xpath search in the Share Node Browser , however I am not able to understand why it fails, even if I am quite confident with xpath search in general.

Basically I want all node under cm:multilingualRoot with a given cm:name. The purpose is to eventually build a Web Script retrieving all the translation of a given html page in wcmqs, but this is another question.
For this xpath issue I have tried the following:


/cm:multilingualRoot/cm:mlContainer[@cm:name='myfile.html']
/cm:multilingualRoot/cm:mlContainer//@cm:name='myfile.html'
/cm:multilingualRoot/cm:mlContainer//.[@cm:name='myfile.html']
……

(many other tentatives)


But it results in an error:


0503252162 Request failed 500 /solr/alfresco/afts?wt=json&fl=DBID%2Cscore&rows=100&df=TEXT&start=0&locale=it&alternativeDic=DEFAULT_DICTIONARY&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON


Do you have any suggestions ?

Outcomes