README.rst
author robin <robin@reportlab.com>
Thu, 12 Jul 2018 09:06:48 +0100
changeset 61 dfd2a9d93871
parent 51 d279cb0c50ff
permissions -rw-r--r--
attempt to fix classifiers
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15
68961bd4cf0d Docs update; README still requires seeing to.
Paolo Dente <paolo@reportlab.com>
parents: 12
diff changeset
     1
PyRXP is a Python language wrapper around the excellent RXP parser, a validating, namespace-aware
68961bd4cf0d Docs update; README still requires seeing to.
Paolo Dente <paolo@reportlab.com>
parents: 12
diff changeset
     2
XML parser written in C.
1
7cf042be50ba Move pyRXP into its own universe
rgbecker
parents:
diff changeset
     3
15
68961bd4cf0d Docs update; README still requires seeing to.
Paolo Dente <paolo@reportlab.com>
parents: 12
diff changeset
     4
*A quick example:*
68961bd4cf0d Docs update; README still requires seeing to.
Paolo Dente <paolo@reportlab.com>
parents: 12
diff changeset
     5
::
51
d279cb0c50ff README.rst: change example to use pyRXPU
Matthew Pitkin <pitkin@gmail.com>
parents: 15
diff changeset
     6
    >>> import pyRXPU
d279cb0c50ff README.rst: change example to use pyRXPU
Matthew Pitkin <pitkin@gmail.com>
parents: 15
diff changeset
     7
    >>> rxp=pyRXPU.Parser()
15
68961bd4cf0d Docs update; README still requires seeing to.
Paolo Dente <paolo@reportlab.com>
parents: 12
diff changeset
     8
    >>> rxp('<a>some text</a>')
51
d279cb0c50ff README.rst: change example to use pyRXPU
Matthew Pitkin <pitkin@gmail.com>
parents: 15
diff changeset
     9
    ((u'a', None, [u'some text'], None)))
1
7cf042be50ba Move pyRXP into its own universe
rgbecker
parents:
diff changeset
    10
7cf042be50ba Move pyRXP into its own universe
rgbecker
parents:
diff changeset
    11
7cf042be50ba Move pyRXP into its own universe
rgbecker
parents:
diff changeset
    12
RXP is based on the W3C XML 1.0 recommendation of 10th February 1998
7cf042be50ba Move pyRXP into its own universe
rgbecker
parents:
diff changeset
    13
and the Namespaces recommendation of 14th January 1999.  Deviations
51
d279cb0c50ff README.rst: change example to use pyRXPU
Matthew Pitkin <pitkin@gmail.com>
parents: 15
diff changeset
    14
from these recommendations should probably be considered as bugs.