摘要:
An apparatus comprises a parse circuit and an expression processor. Coupled to receive a document, the parse circuit is configured to parse the document and generate events corresponding to the parsing. Coupled to receive the events from the parse circuit, the expression processor is configured to apply nodes identified by the events to one or more expression trees derived from a plurality of expressions in a stylesheet. The expression processor identifies nodes that satisfy the expressions represented in the one or more expression trees as a result of applying the nodes to the one or more expression trees. A method is contemplated. Each expression in a stylesheet is characterized as evaluatable at one of a plurality of phases of applying the stylesheet to a document in a document transformation appliance. Each expression is applied to the document in the one of the plurality of phases determined in the characterizing.
摘要:
An apparatus comprises a stylesheet compiler and a document processor. The stylesheet compiler is configured to identify expressions in a stylesheet and is configured to generate one or more expression trees representing the expressions. Expressions having one or more common nodes are represented as children of a subtree that represents the common nodes. Coupled to receive a document and the expression tree, the document processor is configured to evaluate the expressions represented in the one or more expression trees against the document.
摘要:
Embodiments of systems, methods and apparatuses for an output generator for generating output from processed content of a structured document are disclosed. More specifically, embodiments of an output generator may comprise hardware circuitry operable to order data resulting from the transformation of a structured document as it is generated and format this data according to a format of a corresponding output document to generate output corresponding to the output document.
摘要:
Embodiments of systems, methods and apparatuses for a parser for generating one or more data structures representative of a structured document are disclosed. More specifically, embodiments of a parser may comprise hardware circuitry operable to receive a structured document, begin parsing the structured document as it is being received and generating the data structures representative of the structured document as it is being parsed.
摘要:
Embodiments of systems, methods and apparatuses for an architecture for the processing of structured documents are disclosed. More specifically, embodiments of the architecture may comprise hardware circuitry operable to parse a structured document and transform the document according to a set of transformation instructions to produce an output document.