Morten writes:
> I'm serializing some data to TMX (an XML based format), which requires
> an attribute in the xml NS, eg. xml:lang="de". I've tried the following:
>
> Element e = new Element("elem");
> e.setAttribute("lang", "de",
> Namespace.getNamespace("xml","http://www.xml.org/"))
Try
e.setAttribute("lang", "de", Namespace.XML_NAMESPACE);
Brad
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)