File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes how can i add namespaces to a xml document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "how can i add namespaces to a xml document" Watch "how can i add namespaces to a xml document" New topic
Author

how can i add namespaces to a xml document

Arun Kumar
Ranch Hand

Joined: Jan 21, 2005
Posts: 129

how can i add namespaces to a xml document

I have to write a function that will create the root node add namespaces to it and return the document for further processing

i have to add about 10-15 namespaces can i add them together or do i have to do it one by one? plz help
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18115
    
    8

Hello, "arun mp". Looks like you've been a Ranch member for a while, but nobody noticed that your displayed name doesn't conform to the JavaRanch names policy. It needs to have both a first name and a last name, and it needs to be a real name. You can change it here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i add namespaces to a xml document
 
Similar Threads
Extracting namespaces from an XML doc
Validating against multiple schemas
Resolving namespace using xpath
Namespace using Axis
What do tags with semicolons mean?