Provides all the information, explanations, working examples, and software packages (on the accompanying CD-ROM) needed to start writing XML-processing applications in Python quickly. CD-ROM also includes several additional resources. Softcover. DLC: XML (Document markup language)
"synopsis" may belong to another edition of this title.
XML is everywhere on the Web these days. Structured data of all shapes and sizes such as financial transactions, news feeds, health care records, even HTML is metamorphosing into XML. There is just no getting away from it!
I'm glad actually. The fact that XML is everywhere is a fundamentally good thing in my opinion.
Why? Well, thanks to XML, the Web is in transition from an enormous repository of display-oriented, unstructured, low-level data (HTML) into a repository of structured, heterogenous, content-oriented information (XML). This new, improved World Wide Web, housed on a bedrock of XML, presents programmers with awesome opportunities for innovative software development.
This suits me just fine because software development is what I like to do--even more than writing books about software development.
How to choose?
Well, choosing a programming language is an inexact science at best and is influenced by many factors that are technical, commercial, emotional, futuristic and political in nature. Even serendipity has a role to play.
For my part, standing here (actually sitting here) at the start of the 21st century, I can safely say, without fear of contradiction, that no programming language I know comes close to Python for XML processing.
"Strong words," you may say, but then again, I am only speaking about the languages I know, not the ones I don't.
Enough said! We are not here to engage in programming language wars—that is what Usenet is for. Suffice it to say that Python is a solidly engineered, general-purpose programming language with a natural affinity for text processing in general and XML processing in particular. Mix XML and Python together and you have an explosive cocktail of information representation and information processing power.
In my opinion . . .1.1 - Purpose of This Book
This book has essentially one purpose: To give you all the information, explanations, working examples, and software packages (on the accompanying CD-ROM) you need to start writing XML-processing applications in Python fast.
This book will not slow you down with intricate technical details of either Python or XML. That is not to say that these things are not important! They are very important, but they are not discussed in this book. The reason for this omission is that I believe a pragmatic treatment of a subject such as Python/XML is the best way to become productive quickly. I believe that comprehensive coverage of the details too early on in the exploration of a topic like this just gets in the way. So, in this book, comprehensive coverage takes second place to working examples of real-world Python/XML programming. I will provide plenty of pointers to more detailed information for those of you who wish to dig deeper.1.2 - The Pyxie Open Source Project
This book heralds the beginning of the Pyxie project—an Open Source software development initiative aimed at fully developing Python's potential as an XML-processing platform.
By the time you read this, the Pyxie project will have been launched at pyxie. It contains all the source code from this book along with more demo programs and applications for Windows and Linux.
There is a mailing list for Pyxie. To subscribe, send e-mail to email@example.com with the word subscribe in the body of the e-mail.
Get involved!1.3 - Prerequisites
This book assumes that you have a high-level understanding of the ideas and syntax of XML. In particular, it would be helpful if you know the following:
What an element is
What start-tags and end-tags look like
What the term "well formed XML" means
What a DTD (Document Type Definition) is for
If you feel the need to brush up your XML, you might like to read my book XML by Example: Building eCommerce Applications available in this series.
If your programming background is minimal, fear not! Python is a ridiculously easy programming language to learn. Indeed, it makes an excellent first programming language for those approaching the discipline afresh.
If you are a seasoned programmer in one or more languages, I believe you will be pleasantly surprised at how easy, natural, and (okay, I'll say it) beautiful Python is.1.4 - How to Read This Book
This book is intended to be read from start to finish. One of the techniques I have used to avoid long tracts of narrative about Python language features or support libraries is that I explain them as they pop up in the course of writing real programs.
As a consequence, skipping material might lead to gaps in the presentation of Python features. Even if you are very familiar with the subject matter in a section of the book, please give it a high-level scan to ensure that you pick up on any Python nuggets buried inside.
If your background is Java, you might like to read Appendix A before continuing. It introduces Python from a Java programming language perspective. Similarly, you might like to read Appendix B at this point if your background is in the Perl programming language.1.5 - A Note about Platforms
My day-to-day programming environment is a mixture of Windows NT 4.0 and Red Hat Linux 6.0. These are the two platforms that the software presented in this book has been developed and tested on.
Although the book focuses on Windows NT and Linux, the Python programs in the book and in the CD-ROM's root directory should run just fine on any Win32 or Unix platform. There will obviously be the usual assortment of differences to do with default installation directories, differing shells, and so on. I have not attempted to cover all the eventualities in this book. To do so would make it twice as long and ten times more tedious to read.1.7 - And Finally ...
I am a programmer who learns best by example. If this is a reasonable description of how you learn best, you are in the right place.
If you have read this far, you will have surmised that this book is going to take a no-nonsense, snappy, and purposeful approach to XML processing with Python.Ready? Let's go to work ...From the Back Cover:
When it comes to XML processing, Python is in a league of its own.
If you're doing XML development without Python, you're wasting time! Python offers outstanding productivity — especially in the areas that matter most to XML developers, such as XML parsing, DOM/SAX implementations, string processing, and Internet APIs.
And now there's Pyxie — the new open source library that makes Python XML processing even easier and more powerful. In XML Processing with Python, top XML developer Sean McGrath delivers the hands-on explanations and examples you need to get results with Python and Pyxie fast — even if you've never used them before!
Elegant, easy, powerful and fun, Python helps you build world-class XML applications in less time than you ever imagined. If you know XML, one book has all the techniques, code, and tools you'll need to process it: XML Processing with Python.CD-ROM INCLUDED
The accompanying CD-ROM contains everything you need to develop XML applications with Python — including
"About this title" may belong to another edition of this title.
Book Description Prentice Hall PTR, 2000. Paperback. Book Condition: New. book. Bookseller Inventory # 130211192
Book Description Prentice Hall PTR, 2000. Paperback. Book Condition: New. New item. Bookseller Inventory # QX-005-29-1204101
Book Description Book Condition: Brand New. Book Condition: Brand New. Bookseller Inventory # 97801302111941.0