All over my code I write method that pass back elements.  So, I end up
starting the method with this:

Element
el=(Element)((Node)DocumentHelper.createDocument().add("MyElementName")).det
ach();

Is there a better way to get an unconnected element?

As well, last night, I was writing some code that pulls a SOAP body from a
soap message.  The Body tag was namespace qualified.  If it is, how do you
XPath search for it.  Searching for //Body failed.

Jim



Jim Brain, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
"Researching tomorrow's decisions today."
(319) 369-2070 (work)
Systems Architect, Individual ITS, Life Investors Insurance Company of
America


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to