I find that rolling your own is the best way to create XML, especially when you have simple, consistent and well understood data structures like the above. Its much faster and simpler than using any parser. To then parse that XML, or alter it after its initial creation, use a parser.
-stvnIn reply to Re: Converting a data structure to XML
by stvn
in thread Converting a data structure to XML
by Tanalis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |