|
12 | 12 | <p><tt>Contains classes representing Atom elements.<br> |
13 | 13 | <br> |
14 | 14 | Module objective: provide data classes for Atom constructs. These classes hide<br> |
15 | | -the XML-ness of Atom and provide a set of native Python classes to interact <br> |
| 15 | +the XML-ness of Atom and provide a set of native Python classes to interact<br> |
16 | 16 | with.<br> |
17 | 17 | <br> |
18 | 18 | Conversions to and from XML should only be necessary when the Atom classes<br> |
19 | | -"touch the wire" and are sent over HTTP. For this reason this module <br> |
| 19 | +"touch the wire" and are sent over HTTP. For this reason this module<br> |
20 | 20 | provides methods and functions to convert Atom classes to and from strings.<br> |
21 | 21 | <br> |
22 | | -For more information on the Atom data model, see <a href="http://www.rfc-editor.org/rfc/rfc4287.txt">RFC 4287</a> <br> |
| 22 | +For more information on the Atom data model, see <a href="http://www.rfc-editor.org/rfc/rfc4287.txt">RFC 4287</a><br> |
23 | 23 | (<a href="http://www.ietf.org/rfc/rfc4287.txt">http://www.ietf.org/rfc/rfc4287.txt</a>)<br> |
24 | 24 | <br> |
25 | | -<a href="#AtomBase">AtomBase</a>: A foundation class on which Atom classes are built. It <br> |
| 25 | +<a href="#AtomBase">AtomBase</a>: A foundation class on which Atom classes are built. It<br> |
26 | 26 | handles the parsing of attributes and children which are common to all<br> |
27 | | - Atom classes. By default, the <a href="#AtomBase">AtomBase</a> class translates all XML child <br> |
| 27 | + Atom classes. By default, the <a href="#AtomBase">AtomBase</a> class translates all XML child<br> |
28 | 28 | nodes into ExtensionElements.<br> |
29 | 29 | <br> |
30 | | -<a href="#ExtensionElement">ExtensionElement</a>: Atom allows Atom objects to contain XML which is not part <br> |
31 | | - of the Atom specification, these are called extension elements. If a <br> |
| 30 | +<a href="#ExtensionElement">ExtensionElement</a>: Atom allows Atom objects to contain XML which is not part<br> |
| 31 | + of the Atom specification, these are called extension elements. If a<br> |
32 | 32 | classes parser encounters an unexpected XML construct, it is translated<br> |
33 | 33 | into an <a href="#ExtensionElement">ExtensionElement</a> instance. <a href="#ExtensionElement">ExtensionElement</a> is designed to fully<br> |
34 | 34 | capture the information in the XML. Child nodes in an XML extension are<br> |
|
768 | 768 | tag: string (optional) The tag (without the namespace qualifier) for<br> |
769 | 769 | this element. To reconstruct the full qualified name of the element,<br> |
770 | 770 | combine this tag with the namespace.<br> |
771 | | - attributes: dict (optinal) The attribute value string pairs for the XML <br> |
| 771 | + attributes: dict (optinal) The attribute value string pairs for the XML<br> |
772 | 772 | attributes of this element.<br> |
773 | | - children: list (optional) A list of ExtensionElements which represent <br> |
| 773 | + children: list (optional) A list of ExtensionElements which represent<br> |
774 | 774 | the XML child nodes of this element.</tt></dd></dl> |
775 | 775 |
|
776 | 776 | <hr> |
|
0 commit comments