File: README

package info (click to toggle)
libxml%2B%2B2.6 2.40.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 8,056 kB
  • sloc: sh: 11,363; cpp: 7,695; xml: 996; perl: 289; makefile: 221
file content (36 lines) | stat: -rw-r--r-- 1,801 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Examples: Built and executed by "make check"

Simple parsing examples:
  dom_parser - Shows how to parse an XML Document with the DOM parser.
  sax_parser - Shows how to parse an XML Document with the SAX parser.
  textreader - Shows how to parse an XML Document with the TextReader parser.

Building XML documents:
  dom_build - Shows how to build an XML document using the DOM Parser API.
  sax_parser_build_dom - Shows how to parse an XML document with the SAX parser,
                         building a separate custom DOM as you parse.
  dom_read_write: Reads an XML document with the DOM parser and writes it again.
                  The output should be the same as the input.
  import_node: Adds a part of an XML document to another, using the DOM parser.
  dom_xinclude: Adds the contents of other files to an XML document, using the
                DOM parser and XInclude processing.
  
Entity parsing:
  dom_parse_entities: Shows how to detect entity references when using the DOM parser.
  sax_parser_entities: Shows how to detect (and maybe resolve) entity references
                       when using the SAX Parser.

XPath:
  dom_xpath: Shows how to get XML nodes by specifying them with an XPath,
             when using the DOM parser.

Others:
  sax_exception: Shows how to implement a libxml++ exception that can be thrown
                 by your SAX parser.
  dom_parser_raw: Test parse_memory_raw() by converting a UTF-8-encoded XML document
                  to UCS-2 and passing the raw memory to the parser.
  dtdvalidation: Shows how to parse a DTD (document type definition),
                 and use it for validating a document.
  schemavalidation: Shows how to parse a schema definition, and use it for
                    validating a document, using the DOM parser.