×

XML streaming transformer

  • US 20040034830A1
  • Filed: 08/16/2002
  • Published: 02/19/2004
  • Est. Priority Date: 08/16/2002
  • Status: Active Grant
First Claim
Patent Images

1. A method of transforming a document, including:

  • receiving events in a stream, including a plurality of element start-events, input events and element end-events;

    responding to an element start-event for an element by matching the element to a named template and activating the named template or, lacking a match, by treating the element as content of a parent element;

    responding to an element end-event for a current element using a matching named template, if any, including;

    responsive to instructions in the matching named template, outputting at least some of literal text or input events corresponding to the current element;

    clearing the input events corresponding to content of the current element; and

    deactivating the matching named template.

View all claims
  • 8 Assignments
Timeline View
Assignment View
    ×
    ×