• home
  • forum
  • my
  • kt
  • download
  • Processing model

    Author: 2007-08-28 11:00:23 From:

    An XSLT stylesheet consists of a number of template rules:

    template rule = pattern + template

    For a given input XML document, the output is obtained as follows:

    • the source tree is processed by processing the root node
      (implicitly, the root node of a document is a special document node which has the root element as its only child)

    • a single node is processed by:
      1. finding the template rule with the best matching pattern
      2. instantiating its template (creates result fragment + continues processing recursively)

    • a node list is processed by processing each node in order and concatenating the results

    This cartoon illustrates the processing model.

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      Authoring (2)
      Book Samples (1)
      Database Related (2)
      Development (7)
      Introduction to XML (10)
      Java and XML (1)
      Miscellaneous (5)
      Parsing (2)
      PHP and XML (0)
      Style Sheets (8)
      Web Services (5)

    New

    Hot