How to edit only opening tag or closing tag of an xml file?
Or how to create a valid one.. since java is creating automatic closing tags with the same name and i have
<img id="2" src="item1.jpg">
what i get is <img id="2" src="item1.jpg"> bla bla </img id="2" src="item1.jpg"> and the browser expect for a ">" after "<img"
doc.createElement("img id=\"2\" src=\"item1.jpg\"" );
Any suggestions will be apreciated