|
problem in creating DOMDocuments: msg#00104text.xml.xerces-c.user
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. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: problem in compilation of the xerces-c-2_2 on solaris 2.8: 00104, Jacinto, Alex |
|---|---|
| Next by Date: | RE: problem in creating DOMDocuments: 00104, Jacinto, Alex |
| Previous by Thread: | problem in compilation of the xerces-c-2_2 on solaris 2.8i: 00104, manish gandhi |
| Next by Thread: | RE: problem in creating DOMDocuments: 00104, Jacinto, Alex |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |