[jdom-interest] outputting rootElement with multiple namespaces

Robert Koberg rob at koberg.com
Mon Dec 23 18:26:02 PST 2002


Hi,

I am using three namespaces in an aggregated Document. I want to crerate the
root element with all three namespaces referenced there. For example:

<lsb:config
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:lsb="http://livestoryboard.com/metadata/1.0">

Is there any way to do this (in JDOM, I know how to do it in XSL)?

I am creating a valid Document with correct namespaces, but there are too many
namespace references (in the JDOM way that I could figure out).

best,
-Rob




More information about the jdom-interest mailing list