You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by danveno <da...@163.com> on 2012/04/18 15:17:45 UTC

XPATH special characters

Hello,everyone:
 I am using xpath to search for html type node like this:
  xpath = "/"
							+ ISO9075.encodePath(resVo.getPath())
							+ "//element(*, nt:unstructured)[type='html'] order by @general.title decending";

However, i can not get the result of "/yaohaishibei8290/peifangkeli1390/peifangkelizhonglei2652/danweibaozhuang(50zhong)9011/mahuangkeli6429",by assign resVo.getPath()="/yaohaishibei8290"
Why?
Is it because in the path there is some special characters"(" and ")"?
How can I solve this problem, so that  i can get what i what by using this XPATH query? 
--------------
danveno