Mark-up language conversion
OwnerMohinder Singh Garchainventor
Life of this patent
Estimating the term…
Abstract
A method of converting text written in a first mark-up language and comprising a document file and a document type definition (DTD) file, to a second mark-up language which does not utilize a DTD file. The method comprises i) scanning the DTD file to extract definitions; ii) scanning the document file to locate cross-reference tags and to identify cross-referenced text; and, iii) scanning the document file to locate successive blocks of text defined between respective start and end tags of the same type and, for each block, creating equivalent tags and text in the second mark-up language using, where necessary, the extracted definitions and cross-references from steps i) and ii).
Claims5
A method of converting text written in a first mark-up language and comprising a document file and a document type definition (DTD) file, to a second mark-up language which does not utilize a DTD file, the method comprising:
- i) scanning the DTD file to extract definitions;
- ii) scanning the document file to locate cross-reference tags and to identify cross-referenced text;
- and,
- iii) scanning the document file to locate successive blocks of text defined between respective start and end tags of the same type and, for each block, creating equivalent tags and text in the second mark-up language using, where necessary, the extracted definitions and cross-references from steps i) and ii).
Apparatus for converting text written in a first mark-up language and comprising a document file and a document type definition (DTD) file to a second mark-up language which does not utilize a DTD file, the apparatus comprising a processor for performing the steps of a method according to any of the preceding claims.
Dependencies are inferred from the claim text.