aspose file tools*
The moose likes XML and Related Technologies and the fly likes XML name space problem 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 "XML name space problem" Watch "XML name space problem" New topic
Author

XML name space problem

ravi kanna
Greenhorn

Joined: Sep 14, 2006
Posts: 3
HI

am using JDOM parser to generate XML:

here is the XML documents which needs to generated

<clientData xmlns="http://tempuri.org/ClientData.xsd">
<child>some text</child>
</clientData>

the XML which i generated is as:

<clientData xmlns:j="http://tempuri.org/ClientData.xsd">
<child>some text</child>
</clientData>


only diff in JDOM,am using prefix values.but client wants xml names space
in root level only.


rgds
Giri babu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML name space problem
 
Similar Threads
problem in 'generate client' for WSDL in WSAD
Don't know why I am getting this expections
Query about jDOM.
append an element to a text node using jdom?
validating xml against xml schema using xml spy