I'm implementing a messaging interface and I have had some success. Thanks
to a previous thread, I started using the messaging router. So that works
now. I am able to peal off the XML in the body element, but w/ one prob.
The root element of what I grab has an
xmlns=""
and I believe this is breaking a Xalan transform later in the method. I
grab the element like this:
Element bodyNode = (Element) env.getBody().getBodyEntries().elementAt(0);
Element source = (Element)
bodyNode.getElementsByTagName("source").item(0).getFirstChild();
Sample XML:
<Statement xmlns="">
<Parameters>
...filler...
</Parameters>
<Accounts>
... stuff ...
<Accounts>
</Account>
</Accounts>
</Statement>
So, my question is how do I get this element w/o a namespace declaration, or
if that is not possible, how can I get Xalan to ignore it?
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh DailyT