In my program i am taking two xml document by this...
DocumentBuilderFactory domFactoryRead = DocumentBuilderFactory.newInstance();
DocumentBuilder domBuilderRead = domFactoryRead.newDocumentBuilder();
doc = domBuilderRead.parse(firstDoc);
Element rootElement = doc.getDocumentElement();
...
same for other also..
then taking the nodes of first doc in a vectorlist and appending in the other document as per the logic.
The first xml contain one script tag like..
<head><script language="JavaScript" src="JS/Start.js"></script><SCRIPT LANGUAGE="JavaScript">........
The problem is ..after appending that two document ..
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> ..
tag is cooming with out closing autometically
same for <img...> also..
may be the META is comming for script tag ...but wby the <img> does't get the end tag???? in the xml <img> is under <td>.
and in the original xml nowrap was like that <td nowrap="nowrap"> or <td nowrap=""> as per the xsl sheet ..but in the final xml which is the addition of the two xml tag is comming like this...<td nowrap>..with out any value.
The input two xml are perfect but the output is not..
can any body help me to solve this problem..