Formatting XML Documents

  • separation of content and style

  • we can use stylesheet language to describe styling of document

  • XML document + style ⇒ formatted document

  • advantages of stylesheet approach

    • one stylesheet can be used to process many documents (uniform look for a set of documents)

    • one document can be processed by several different stylesheets (multiple output formats)