×

Markup-language document formatting in memory-constrained environment

  • US 7,313,758 B2
  • Filed: 04/24/2003
  • Issued: 12/25/2007
  • Est. Priority Date: 04/24/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of parsing and formatting a document encoded using a markup language, the structure of said document being represented by a tree having one or more nodes, said method comprising the steps of:

  • parsing the document to a current node in said tree using a main parser, freeing memory occupied by an previously formatted one of said nodes upon which formatting of said current node, according to a set of formatting rules, is independent and the formatting of said current node being dependent on one or more further nodes that have not yet been formatted, wherein a partial document tree uses the current node and remaining previously formatted nodes upon which formatting of said current node is dependent;

    obtaining information about said one or more further nodes of said document using a look-ahead parser operable so as to not interfere with operation of the main parser; and

    formatting said current node using said obtained information.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×