See the result for this
sample
See the code to generate this sample
Line 2 It loads an XML document (Structured file)
previously saved by the Print Preview.
Line 7 Finally, the document is complete and, by default,
EndDocument displays the result in the preview window, allowing
the user to review it or print it as desired.