I have some experience with XML in javascript and java, but i'm new at xerces...
i want to create a DOMDocument from a XMLTemplate... an example of the template will look like this... --------------------------------- <resource id="" type=""> <judul/> <pengarang/> <keywords/> <hak-akses/> <bahasa/> <metadata/> </resource> ----------------------------------- as you can see, all the tag are empty, so ii will used the DOMDocument to fill in the textContent.... the problem is, i don't know how to load the template into the DOMDocument... I have read the CreateDOMDocument sample, but it create DOMDocument from scratch... unlike what i want...in java script, all that i need to do is ------------------------ xmlStr = "<resource id='' type=''><judul/><pengarang/><keywords/><hak-akses/><bahasa/><metadata/></resource>"; doc.load(xmlStr); <--- this will load the xmlStr into DOMDocument... ------------------------ is there any way to do this?? thank for your help.... -- View this message in context: http://www.nabble.com/problem-in-creating-DOMDocuments-tf2891037.html#a8076750 Sent from the Xerces - C - Users mailing list archive at Nabble.com.
