5. The system of claim 1 wherein the structured document corresponds to an output document, and wherein the transformation mechanism transforms input lines of an input document into output lines of an output document by loading a guide document and serially reading lines of the input document to produce the output lines based on information in the guide document.
5. The system of claim 1 wherein the structured document corresponds to an output document, and wherein the transformation mechanism transforms input lines of an input document into output lines of an output document by loading a guide document and serially reading lines of the input document to produce the output lines based on information in the guide document. 8. The system of claim 5 wherein the transformation mechanism transforms the input lines according to a rule-construct role document used as a guide document.