Transfromation of marked up documents using a base architecture
OwnerColin Gajrajinventor
Life of this patent
Estimating the term…
Abstract
A tool for transforming SGML documents using SGML architectures determines to what class of element an element in a first document belongs, from the first document type definition, by searching at least part of the first document type definition for a qualifier to an element, indicating an association with a definition of the class of element. It then determines for that class, at least one corresponding element in the second document type definition, and includes in the second document, an instance of the corresponding element or elements. Interchange of documents becomes easier because a single generic tool can be used for transformation between many different types of documents.
Claims16
A method of transforming a first document marked up according to a first document type definition, into a second document marked up according to a second document type definition, the first document comprising at least one element, and containing a reference to the first document type definition, the method comprising the steps of:
- a) determining to what class of element an element in the first document belongs, from the first document type definition;
- b) determining for that class, at least one corresponding element in the second document type definition;
- and
- c) including in the second document, an instance of the corresponding element or elements.
Apparatus for transforming a first document marked up according to a first document type definition, into a second document marked up according to a second document type definition, the first document comprising at least one element, and containing a reference to the first document type definition, the apparatus comprising:
- processing means arranged to determine to what class of element an element in the first document belongs, from the first document type definition;
- processing means arranged to determine for that class, at least one corresponding element in the second document type definition;
- and
- processing means arranged to include in the second document, an instance of the corresponding element or elements.
Software stored on a computer readable medium, for carrying out a method of transforming a first document marked up according to a first document type definition, into a second document marked up according to a second document type definition, the first document comprising at least one element, and containing a reference to the first document type definition, the method comprising the steps of:
- a) determining to what class of element an element in the first document belongs, from the first document type definition;
- b) determining for that class, at least one corresponding element in the second document type definition;
- and
- c) including in the second document, an instance of the corresponding element or elements.
A method of populating a transformation table for transforming elements of a first document marked up according to a first document type definition, into elements of a second document type definition, the first document comprising at least one element, and containing a reference to the first document type definition, the method comprising the steps of:
- determining to what class of element an element in the first document belongs from the first document type definition;
- determining for that class, at least one corresponding element in the second document type definition;
- and
- populating the table with the corresponding element or elements.
A method of using transformation tables for transforming an element of a first document marked up according to a first document type definition, into an element of a second document marked up according to a second document type definition, the tables comprising correspondences between elements in more than two document type definitions, the method comprising the steps of:
- selecting a table having a correspondence between the elements in the first document and elements in the second document type definition;
- and
- using an element of the first document to access an entry in the selected table to perform the transformation.
Dependencies are inferred from the claim text.