Python & XML (Classique Us)Christopher A Jones, Fred L jr Drake
Taschenbuch
< I> Python and X M L shows how to program X M L applications using Python, an increasingly popular scripting language. The authors aim to introduce X M L, but some knowledge of Python is assumed. They make a strong case for Python as a natural partner to X M L, being cross-platform, object-oriented, easy to use, and with strong text handling features. In any case, the prevalence of X M L means that most Python developers will have to tackle it sooner or later. Together with the Python standard library, the book makes use of Py X M L, which greatly extends Python's X M L features, and another library called 4 Suite. It also demonstrates how to use Microsoft's M S X M L parser with Python, when running on Windows. Starting with an introductory overview, the book goes on to explain X M L fundamentals. Next there is a guide to parsing X M L, first with S A X and then with the D O M ( Document Object Model). X Path queries get a short chapter, followed by a look at X S L T transformations. After that comes validation against D T D's ( Document Type Definitions), sending and receiving X M L over the Internet, and Python Web Services. Finally, a detailed example explains how to use Python in a distributed X M L application. Both authors are professional Python developers and their book successfully covers the essentials. However, they do a poor job of explaining X M L itself and newcomers will want something like < I> X M L in a Nutshell alongside this title. With lots of commented code examples, < I> Python and X M L has a hands-on feel, making it a sound and practical guide. -< I> Tim Anderson
|