Jalaj

December 21, 2006

Easy way to writing XML

Filed under: COM, Visual Basic, XML — Jalaj @ 1:23 pm

The Microsoft XML component was OK for me, till I needed to write XML to be created, as previously I mostly needed it for parsing existing XML files. The biggest drawback I found was that it didnot format the generated XML with indents etc, and the result xml was a long string. As I was supposed to provide indentation also, I did it anyhow by calculating spaces required for each node… don’t ask me how? It took me time, and if ever need to re-do the same, that would take even more…
(more…)

Blog at WordPress.com.