GamparDOMTalk

From ALPS
Jump to: navigation, search

Talk on Quickbook, DOM, etc.

QuickBook

  • Syntax: similar to Wiki, highlighted C++ code, lists, ...
  • Structure:
    • sectioning [section_id name] ... [endsect]
    • headers [h1 ...] ... [h6 ...]
    • execute include [xinclude foo.xml]

Links

http://www.boost.org/tools/quickbook/doc/html/quickbook/syntax.html

Import a simple C++ file

[import myfile.cpp]

DOM

  • What is DOM?
    Document Object Model - Model/API for navigating/manipulating HTML or XML document
    • XML example
    • Object tree
    • 5 node types
      • doc
      • element (tag, refers to entire subtree)
      • attributes
      • text
      • comments
      • CData (character data)
  • Example of manipulating object tree
  • DOM Level 1
  • tutorials: w3schools