Debian Codegraph @

examples/README

raw
1 Examples: Built and executed by "make check"
2
3 Simple parsing examples:
4 dom_parser - Shows how to parse an XML Document with the DOM parser.
5 sax_parser - Shows how to parse an XML Document with the SAX parser.
6 textreader - Shows how to parse an XML Document with the TextReader parser.
7
8 Building XML documents:
9 dom_build - Shows how to build an XML document using the DOM Parser API.
10 sax_parser_build_dom - Shows how to parse an XML document with the SAX parser,
11 building a separate custom DOM as you parse.
12 dom_read_write: Reads an XML document with the DOM parser and writes it again.
13 The output should be the same as the input.
14 import_node: Adds a part of an XML document to another, using the DOM parser.
15 dom_xinclude: Adds the contents of other files to an XML document, using the
16 DOM parser and XInclude processing.
17
18 Entity parsing:
19 dom_parse_entities: Shows how to detect entity references when using the DOM parser.
20 sax_parser_entities: Shows how to detect (and maybe resolve) entity references
21 when using the SAX Parser.
22
23 XPath:
24 dom_xpath: Shows how to get XML nodes by specifying them with an XPath,
25 when using the DOM parser.
26
27 Others:
28 sax_exception: Shows how to implement a libxml++ exception that can be thrown
29 by your SAX parser.
30 dom_parser_raw: Test parse_memory_raw() by converting a UTF-8-encoded XML document
31 to UCS-2 and passing the raw memory to the parser.
32 dtdvalidation: Shows how to parse a DTD (document type definition),
33 and use it for validating a document.
34 schemavalidation: Shows how to parse a schema definition, and use it for
35 validating a document, using the DOM parser.
36