Re: [dom4j-user] ElementPath to use XPath expression

2002-11-15 Thread James Strachan
--- Original Message - From: Benjamin Kopic To: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 1:15 PM Subject: [dom4j-user] ElementPath to use XPath expression Hi I am trying to use XPath expression as the path value when registering ElementHandler, and it seems that ElementPath is not an

Re: [dom4j-user] ElementPath to use XPath expression

2002-11-15 Thread Benjamin Kopic
http://radio.weblogs.com/0112098/ - Original Message - From: Benjamin Kopic To: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 1:15 PM Subject: [dom4j-user] ElementPath to use XPath expression Hi

Re: [dom4j-user] ElementPath to use XPath expression

2002-11-14 Thread James Strachan
 Unfortunately true XPath (or XSLT-patterns) style matching hasn't been added yet to the ElementHandlers. Though you could always split your XPath into 2 and register the ElementHandler for ("/table/metaData/record") then when you get each Element evaluate the XPath expression "field[@fID=':

[dom4j-user] ElementPath to use XPath expression

2002-11-14 Thread Benjamin Kopic
Hi I am trying to use XPath expression as the path value when registering ElementHandler, and it seems that ElementPath is not an equivalent to XPath (which makes sense). However, I need to get the below test to work:   public void testXPath() {     SAXReader saxReader = new SAXReader()