When defining an XML structure in a document, you should also provide some sample code. Depending on the way you are creating this sample code, you may get little or no authoring assistance and the consistency of the sample and the description must be maintained manually. In this presentation, I will show an approach to use the full authoring assistance from Oxygen when writing xml sample code and to automatically validate the consistency of your samples with the description.