Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

update an XML doc

 
Anish Kuti
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic