rendering-architecture-advanced.png

  • Parser: Parses some textual input in a given syntax and generates a XDOM object which is an AST representing the input into structured blocks.
  • Renderer: Takes a XDOM as input and generates some output.
  • Transformation: Takes some XDOM and modifies it to generate modified XDOM (see the list of Transformations). One important transformation is the MacroTransformation which looks for all macro blocks in the XDOM tree and replaces them by blocks generated by various macros. Note that executing transformations is an optional step and if you don't run them then you'll get a XDOM object without any transformation applied on it (e.g. without macros executed). Also note that there's a TransformationContext used that holds various information about the context: the XDOM being transformed, the syntax, and more.
  • Macro: Takes a macro definition as input and generates XDOM Blocks (see the list of Macros).
Tags:
Created by Vincent Massol on 2011/03/08 16:22
    
  • Powered by XWiki 11.10.2-node1. Hosted and managed by XWiki SAS

Get Connected