[ANN] pyxser-0.1r (release 0.1)

Daniel Molina Wegener dmw at coder.cl
Fri Mar 27 04:24:10 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- From the readme file:
- -----8<----------8<----------8<----------8<-----
pxyser --- python xml serialization

pyxser stands for Python XML Serialization, it's Python
object serializer that does the job in a standard way.
Unlike other serializers, it uses structured document
defined in the pyxser DTD, has a FPI (forma public
identifier) and the deserialization process run before
validating the serialized object document against the
pyxser DTD.

it has the next functions:

string pyxser.serialize(object)
        serilizes the given object and return it's XML
        representation.

object pyxser.unserialize(string)
        deserializes the given string into it's native
        python reprsentation. it needs that all modules
        referenced in the serilized XML can be accesible
        to the pyxser extension.

boolean pyxser.validate(string)
        validates the given XML string against the pyxser
        DTD. you don't need to call this function before
        every deserialization, because pyxser does the
        validation internally.


A sample of a serialized object is the XML as follows:

<?xml version="1.0" encoding="utf-8"?>
<pyxs:obj xmlns:pyxs="http://projects.coder.cl/pyxser/model/"
          version="1.0"
          type="TestAnotherObject"
          module="testpkg.sample"
          id="id-136688140">
  <pyxs:prop type="str" name="first_element">456</pyxs:prop>
  <pyxs:prop type="str" name="second_element">789</pyxs:prop>
</pyxs:obj>


pyxser supports cross referenced objects and nested referenced
object, because it defines the a ref attribute as IDREF which
is used to link internal nodes in the document tree.

*** See the INSTALLING file for installing instructions. ***
*** See the AUTHORS file to get information about the authors ***

The pyxser web page is:
http://coder.cl/software/pyxser/

Best regards,
Daniel Molina Wegener

### $Id: README 29 2009-03-27 01:59:57Z damowe $ ###
- -----8<----------8<----------8<----------8<-----

Best regards,
- --
 .O. | Daniel Molina Wegener   | FreeBSD & Linux
 ..O | dmw [at] coder [dot] cl | Open Standards
 OOO | http://coder.cl/        | FOSS Developer

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iQIcBAEBCgAGBQJJzEbaAAoJEHxqfq6Y4O5NXcEQAJQQqEWKvfbEKHZWC3RP4B/w
isuiiyuVig7+nsBvRFoqoeTj5JtAUBN4xykH3TiqojYM7osA9+dPDRg7JfJtjf1t
EaCB7u3HuIeR5udyoMpFSEpmJejr7gcMwOWLhBHZrhpgxhiAsioC1QjBtHsSnsuz
8pPp9/eqdTLvPhgkk8shFq0tvkM0pvF4/E9c4AACqz96frZO+S0jiIqPnu2VOkSq
UX+/H2HkvvoDkh6+nS3vafC2VKC4U0c3MSu2rgljuxp5sDOBJLEYixCzw/U7Dtdo
jgD12LPnqPa/3sQY2FsNkYosIp+Aj5C09i/jCc+MMw9RDJ3QmJaZtfC+0stU32xV
w/WiOFjmGrgc+H3UmQXALdbTSbK/WyjX/iJ4R+04GCZW2y6b1IJwis//mPiWZe+K
KgREo3KBx2wE/rrrHHEfmQZX/zaSxbY+qL4696OrB7q2lduyG6izmVBaOColJ/eY
5QDVrP0Y+NUL0j6rgd9gJj4/cG2sVr9aQant2WizwKSMK/fh3k/8gOLXU6JMjYTI
e7mWWfjRrJGvgDGUD42EmAnuVXa4OAZUC20uH/kpCvfr+iAfM0WXk/6kzw1Qcu7o
dHqXGK4/vHcVlX0UnJE843d5+eok932SkZPRLvM6L8pdwjB8nJ17P85pkfgysUDh
Ofk5cKuQ2HF+EgH5Quki
=QhlG
-----END PGP SIGNATURE-----


More information about the Python-announce-list mailing list