Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] Namespace problems

Ramo At Skuff

2007-11-16

Replies:

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
   

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.