[jdom-interest] XPATH and namespace

Kevin L. Cobb kevin.cobb at emergint.com
Fri Sep 2 11:04:32 PDT 2005


Having trouble getting an XPATH expression with a namespace identifier
to retreive the value in the XPATH. Example:
 
 
<ruleDef  xmlns:ilog="http://www.myrules.com">
   <ilog:conditions conditionId="condID_590"
ruleId="rule_590">3</ilog:conditions>
 </ruleDef>

The XPATH expression "//ruleDef/ilog:conditions[1]/text()" does not
return a result. I expect 3 to be the result. 
 
 
 
Thanks,
 
Kevin
 
 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050902/b7d66583/attachment.htm


More information about the jdom-interest mailing list