Can anyone point me to some documentation, examples or tutorials on creating small XML documents with attributes. I found some snippets relating to reading an existing xml, whereas I want to create one and save out to file K.