DGML sample code