OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Namespace declaration using DOM

[ Lists Home | Date Index | Thread Index ]


Hi,
I am using DOM to create an XML document. How do I declare namespace?
I want to know which API is used to create namespace declaration in an XML
document.

I want my final XML document to be
<RootElement xmlns:c="http://pradeepbhat.com";>
<c:name>pradeep</c:name>
<RootElement>

My problem is how to put the xml name space declaration in RootElement.
Some one plz help;
thanks in adv.


============================================================================
=====

DISCLAIMER

The information contained and transmitted by this e-mail is proprietary to
SLK Software Services Private Limited and is intended solely for the use of
the individual or entity to whom it is addressed and others authorized to
receive it. It may contain privileged or confidential information or
information exempt from disclosure as per applicable law. If you are not the
intended recipient or responsible for delivery to the intended recipient,
you may not copy, deliver, distribute or print this message. If it is a
forwarded message it may not have been sent with the authority of the
company. Any views or opinions are individual to the sender and are not the
opinion of or endorsed by the company. The attachments to this message have
been virus checked. However, the recipients may conduct their own virus
checks. SLK Software Services Pvt. Ltd. will not accept any claims for loss
or damages arising out of viruses.
============================================================================





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS