Meaningless Drivel is fun!*
The moose likes I/O and Streams and the fly likes update an XML doc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "update an XML doc" Watch "update an XML doc" New topic
Author

update an XML doc

Anish Kuti
Greenhorn

Joined: May 12, 2008
Posts: 29
i want to update XMl doc ..specifically the namespace .

<?xml version="1.0" encoding="UTF-8"?>
<storage:Root xmlns:pic="http://www.pic.com/schema/132/lonm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.pic.com/schema/132/lonm">
<Employee>
<Name>Arabind</Name>
</Employee>
</Root>

How can I update this xml namespace using JAXP or XMLbean(preferable ) or any dom
xmlns:pic="http://www.pic.com/schema/132/lonm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.pic.com/schema/132/lonm"
with
xmlns:pic="http://www.pic.com/schema/133/lonm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.pic.com/schema/133/lonm"


Please help ..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: update an XML doc
 
Similar Threads
Validating XML against Schema.
Question about generating XSD
URI syntax in namespace
question regarding XML Namespaces/Schema
is there any API that supports Schema Validation