[jdom-interest] xlink in JDOM

Ollie Glass ollieglaskovik at gmail.com
Thu May 4 02:33:24 PDT 2006

I'm trying to make produce this element with JDOM:
<ref xlink:href="download.html"/>

How is this done? I guessed the code might look like this, but it  
doesn't work:
Element e = new Element("ref");
e.setAttribute("xlink:href", "download.html");

Sorry if this is covered elsewhere, I couldn't find an answer searching.



More information about the jdom-interest mailing list