You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
729 B
41 lines
729 B
/*
|
|
*/
|
|
|
|
/*! \page outliner-example.html
|
|
|
|
\ingroup xml-examples
|
|
|
|
\title Outliner to show use of DOM
|
|
|
|
This example presents a small outliner program to show the basic usage of
|
|
the \link xml.html#dom DOM classes \endlink. The format of the outlines
|
|
is the OPML format as described in http://www.opml.org/spec.
|
|
|
|
This example shows how to load a DOM tree from an XML file and how to
|
|
traverse it.
|
|
|
|
<hr>
|
|
|
|
Sample XML file (todos.opml):
|
|
|
|
\include xml/outliner/todos.opml
|
|
|
|
<hr>
|
|
|
|
Header file (outlinetree.h):
|
|
|
|
\include xml/outliner/outlinetree.h
|
|
|
|
<hr>
|
|
|
|
Implementation (outlinetree.cpp):
|
|
|
|
\include xml/outliner/outlinetree.cpp
|
|
|
|
<hr>
|
|
|
|
Main (main.cpp):
|
|
|
|
\include xml/outliner/main.cpp
|
|
*/
|