Adding prefix "dom4j" to "books" element is easy.
But I want give the "book" element prefix of "dom4j", and I didn't find setPrefix method of Element and its parent classes.
document.addElement("dom4j:book") is the only way? I don't think it is a good approach.
And when I want to change the prefix, how should I do?
Thank you for help in advance.
Regards,
Gary.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com