You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Mike J Boyersmith <mj...@us.ibm.com> on 2005/01/18 20:49:50 UTC
Re: JDOM and NOT using anakia ant task (figured out the Namespace problem)
Ok figured out the problem. I have to get an actual namespace object and
pass it, versus just
passing the namespace text.
>>I can dump my JDOM and it shows the tree correctly.
>>but I am having problems doing simple things like getting at elements.
>>heres an example
>>...
>>I'm TRYING to get output text for <publish:link> but no matter what I
try
>>I can't seem to get
>>the element. sigh...... I suspect I'm running into a namespace problem.
If
>>I try to fetch <foo> it works, but
>>if I try to fetch <publish:link> it doesn't. Any ideas?????