[jdom-interest] Namespace problems

Ramo At Skuff ramo at skuff-band.de
Fri Nov 16 13:50:07 PST 2007


Hi,

i wanted to add the xmlns="http://www.w3.org/1999/xhtml" namespace to my
"root" <html> tag like this:

Namespace ns = Namespace.getNamespace("http://www.w3.org/1999/xhtml");
		
		
root = new Element(HtmlElementsDef.getHTML_STR(), ns);



This is not working. I'm getting no error messages or anything else. All
what i want is to add the namespace to the html tag,


Any ideas?

Best regards
Ramo
		



More information about the jdom-interest mailing list