Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XPath question

807580Jul 1 2010 — edited Jul 1 2010
Anyone know why the colon in my xpath seems to be screwing everything up? Anyone know how to fix this?
XPathFactory fac = ...
XPath xpath = ...
XPathExpression expr = xpath.compile("//context");
Object result = expr.evaluate(...); //this works;
expr  = xpath.compile("//xbrli:context");
result = expr.evaluate(...); //this does not work
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2010
Added on Jul 1 2010
3 comments
65 views