Previous versions of the DocumentReference allow for xml, but with 8.2, you need to send your document within the text property.
Look at "LCDS-325" at http://help.adobe.com/en_US/
I have been specializing in building web-based applications since 1998, primarily using HTML, Flex, LiveCycle, Java, ColdFusion, and SQL Server. You found yourself here, so hopefully you'll get something good out of it! Enjoy...