I have an xml file which contains a DOCTYPE declaration like the following:

 

<?xml version="1.0" encoding="UTF-8"?>

  <!DOCTYPE myApp

    PUBLIC "-//MyApp//EN"

    "http://www.myapp.com/myapp.dtd" >

<myApp>

……

</myApp>

 

 

I need to remove the DOCTYPE declaration and add schema definition attributes to the myApp element.   How do I do that using XmlBean API?

 

Thanks,

 

Shenxue

 

Reply via email to