[Lxml-checkins] r50796 - in lxml/trunk: . doc
scoder at codespeak.net
scoder at codespeak.net
Sun Jan 20 12:56:28 CET 2008
Author: scoder
Date: Sun Jan 20 12:56:26 2008
New Revision: 50796
Modified:
lxml/trunk/ (props changed)
lxml/trunk/doc/FAQ.txt
Log:
r3272 at delle: sbehnel | 2008-01-20 12:04:35 +0100
FAQ fix
Modified: lxml/trunk/doc/FAQ.txt
==============================================================================
--- lxml/trunk/doc/FAQ.txt (original)
+++ lxml/trunk/doc/FAQ.txt Sun Jan 20 12:56:26 2008
@@ -42,7 +42,7 @@
6.2 Why can't lxml parse my XML from unicode strings?
6.3 What is the difference between str(xslt(doc)) and xslt(doc).write() ?
6.4 Why can't I just delete parents or clear the root node in iterparse()?
- 6.5 How do I output null bytes in XML text?
+ 6.5 How do I output null characters in XML text?
7 XPath and Document Traversal
7.1 What are the ``findall()`` and ``xpath()`` methods on Element(Tree)?
7.2 Why doesn't ``findall()`` support full XPath expressions?
@@ -609,12 +609,12 @@
.. _`iterparse section`: api.html#iterparse-and-iterwalk
-How do I output null bytes in XML text?
+How do I output null characters in XML text?
---------------------------------------
Don't. What you would produce is not well-formed XML. XML parsers
-will refuse to parse a document that contains null bytes. The right
-way to embed binary data in XML is using a text encoding such as
+will refuse to parse a document that contains null characters. The
+right way to embed binary data in XML is using a text encoding such as
uuencode or base64.
More information about the lxml-checkins
mailing list