摘要 |
A method determines structures and features of an original document to make style decisions. The extensible markup language of the original document is analyzed to produce instance mapping. The document type definitions of the original document are analyzed to produce document type definitions mapping. Lastly, the instance schema of the original document is analyzed to produce schema mapping. A transform is generated from the produced instance mapping, document type definitions mapping, and schema mapping. The transform is applied to the original document to generate an instance in an intermediate format. A stylesheet is selected and applied to the intermediate format to produce a styled document.
|