Hi I know , this hs nothig to do with the "certification" but it has with xml. I use from java the org.w3c.dom.Document to create a xml Document, but I don't know how to save it. ThankX
hi mihai, can you explain it in detail a little more ? are u loading teh xml file, making modifications , but not able to store ( i had written paste before instead of store ..sorry abt that ..guess i was sleepy ) it ? it would be great if you could paste your java code here !!! looking forward to that hari [ March 26, 2004: Message edited by: Hari Vignesh Padmanaban ]
I create the dom document using javax.xml.parsers.DocumentBuilder.parse(File f) where f is a new file(f = new File()) I use the document like doc.createAttribute(.. ... But how I save it ?
I guess that you have to use the transformer factory to write it to disk Here is the code snipet
do go through the related API's hope this helps [ March 26, 2004: Message edited by: Hari Vignesh Padmanaban ] [ March 26, 2004: Message edited by: Hari Vignesh Padmanaban ]
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.