writexml

Cannot WriteXML for DataTable because Windows Search Returns String Array for Authors Property

The System.Author Windows property is a multiple value string. Windows Search returns this value as an array of strings in a DataColumn. (The column's data-type is string[] or String().) When I call the WriteXML method on the resulting data-table, I get the following InvalidOperationException exception. Is there a way to specify the da...

writing xml bug

public static void writeXmlFile(Document doc, String filename) { try { // Prepare the DOM document for writing Source source = new DOMSource(doc); // Prepare the output file File file = new File(filename); Result result = new StreamResult(file); // Write the DOM doc...

Reading and Writing XML as relational data - best practices

Dear friends, I'm supposed to do the fallowing: 1) read a huge (700MB ~ 10 million elements) XML file; 2) parse it preserving order; 3) create a text(one or more) file with SQL insert statements to bulk load it on the DB; 4) write the relational tuples and write them back in XML. I'm here to exchange some ideas about the best (== fast...