It's not a secret anymore!
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


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: 130

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
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how can i add namespaces to a xml document
 
It's not a secret anymore!