O'Reilly logo

XML Processing with Python by Sean McGrath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12.12. The Complete Source Code for the Pyxie Library

 CD-ROM reference=12028.txt #! /usr/bin/env python """ Pyxie Core XML processing library Version 0.5 XML Processing with Python Sean Mc Grath Introduction ____________ The Pyxie library provides facilities for processing XML. The library uses a simple notation to capture the information generated by XML parsers known as PYX. PYX is a line-oriented notation in which the first character serves to specify what type of parsing event the line represents: __________________________ First Parsing Character Event __________________________ ( Start-tag A Attribute ) End-tag _ Data ? Processing Instruction __________________________ Line ends and tabs occurring in data or attribute lines are escaped ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required