File: README

package info (click to toggle)
python-xml 0.8.4-10.1%2Blenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,972 kB
  • ctags: 10,628
  • sloc: python: 46,730; ansic: 14,354; xml: 968; makefile: 201; sh: 20
file content (21 lines) | stat: -rw-r--r-- 1,071 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
These examples demonstrate the Python SAX API, version 1. In all examples,
the sax driver can be specified by setting the PY_SAX_PARSER environment
variable. Valid settings are 
- xml.sax.drivers.drv_pyexpat
- xml.sax.drivers.drw_xmlproc
- xml.sax.drivers.drv_sgmlop
as well as any other driver listed in the xml/sax/drivers directory.

sax2obj.py     ???
saxdemo.py     Parses an XML file, and prints it in canonical form.
               Invoke as 'python saxdemo.py filename.xml'.
               The standard driver will be pyexpat. 
               Alternative drivers can be specified with the -d option 
               of saxdemo.py; the prefix 'xml.sax.drivers.drv_' is 
               automatically added to the driver.
saxhack.py     appears to be broken
saxstats.py    Prints statistics about an xml file.
saxtimer.py    Times parsing a document; arguments are the parser name
               (the prefix 'xml.sax.drivers.drv_' is automatically added)
               and the document name.
saxtrace.py    parses a document using xmlproc, and prints all SAX events.