Re: [dom4j-dev] A question about using DOM4J. Thanks!

2006-03-07 Thread Paul Libbrecht
Lei, that is normal! Either you change your XPath expression to only filter the element name *String s = document.valueOf("//*[local-name()='serviceRoot']/*[local-name()='serviceMethod']"); *or you use another method for XPath matching where you can addNamespace("intx","http://B2Bi.seaie.cc

[dom4j-dev] A question about using DOM4J. Thanks!

2006-03-07 Thread 雷雨平
Hello everyone! Would you do me a favor?   I have a XML string: xmlns=" http://B2Bi.seaie.ccb.com/InTxB2Bi002" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance ">  TelecomService  TelecomService   cxCharge  123   // I want to read the text of  with valueOf(String xpathExpression) method: