Append attribute nodes into L{Content.data}. Attributes in the I{schema} or I{xml} namespaces are skipped. @param content: The current content being unmarshalled. @type content: L{Content}
(self, content)
| 111 | return content.text |
| 112 | |
| 113 | def append_attributes(self, content): |
| 114 | """ |
| 115 | Append attribute nodes into L{Content.data}. |
| 116 | Attributes in the I{schema} or I{xml} namespaces are skipped. |
| 117 | @param content: The current content being unmarshalled. |
| 118 | @type content: L{Content} |
| 119 | """ |
| 120 | attributes = AttrList(content.node.attributes) |
| 121 | for attr in attributes.real(): |
| 122 | name = attr.name |
| 123 | value = attr.value |
| 124 | self.append_attribute(name, value, content) |
| 125 | |
| 126 | def append_attribute(self, name, value, content): |
| 127 | """ |
no test coverage detected