Java Mailing List Archive

http://www.junlu.com/

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

[jdom-interest] xlink in JDOM

Ollie Glass

2006-05-04


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.

Thanks,

Ollie
_______________________________________________
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.