[jdom-interest] Building document with element containing namespace reference without declaring namespace
J S
ladyslipper98201 at yahoo.com
Mon May 27 20:26:51 PDT 2002
I would like to build a document from this string
"<xml><javacustomtag:GetName/> is my name</xml>"
The problem I run into is that I get an exception
about undeclared namespace. I realise that I could
declare the namespace at the start of this string but
on output this changes the javacustom tag to
<javacustomtag:GetName
xmlns:javacustomtag="whateverideclareditas"/>
and when I have this output in a jsp it is not
interpreted correctly as a java custom tag.
Any Ideas,
Thanks in Advance,
Jo
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
More information about the jdom-interest
mailing list