Software Carpentry
XML


Introduction


You Can Skip This Lecture If...


In the Beginning


The Modern Era


Formatting Rules


Document Structure


Text


XHTML


Sample XHTML Page


Critique of HTML/XHTML


Attributes


Attributes Vs. Elements


More XHTML Tags


Lists and Tables


Example


Images


Links


The Document Object Model


The Basics


DOM Tree Example


More On Tree Structure


Creating a Tree


Converting to Text


Other Ways To Create Documents


The Details


Finding Nodes


Walking a Tree


Recursive Tree Walker


Modifying the Tree


Complications


Solution


Not Finished Yet


Summary