[jdom-interest] Question Regarding NameSpace

Kesav Kumar kesavk at voquette.com
Mon Oct 9 15:06:10 PDT 2000


Hi
 
I am using extensively JDOM in my current project.  Till now every thig was
working fine with JDOM Beta5.  Now I have got a problem in creating Document
with specific Namespace.   I have an existing XML contains lots of templates
I wanted to create a document with one of the template and add Namespace to
it?  I am not finding any way to add Namespace to Document.  Can you suggest
any way?  I am giving my sample templates

<templates>

       <Template1 xmlns:xpl="www.xxx.com" xmlns:xplt="www.xxx.com">
                 <xpl:node1/>
                 <xplt:node2/>
         </Template1>
 
         <Template1 xmlns:xpl="www.xxx.com" xmlns:xplt="www.xxx.com">
                 <xpl:node1/>
                 <xplt:node2/>
         </Template1>
</templates>



More information about the jdom-interest mailing list