equal
deleted
inserted
replaced
396 return super(XHTMLDocument, self).render_out(stream, self.xml_encoding, **render_opts) |
396 return super(XHTMLDocument, self).render_out(stream, self.xml_encoding, **render_opts) |
397 |
397 |
398 class TagFactory (object) : |
398 class TagFactory (object) : |
399 """ |
399 """ |
400 Build Tags with names give as attribute names |
400 Build Tags with names give as attribute names |
401 """ |
401 |
|
402 >>> str(TagFactory().raw("><") |
|
403 '><' |
|
404 """ |
|
405 |
|
406 # raw HTML |
|
407 raw = Text |
402 |
408 |
403 def __getattr__ (self, name) : |
409 def __getattr__ (self, name) : |
404 """ |
410 """ |
405 Get a Tag object with the given name, but no contents |
411 Get a Tag object with the given name, but no contents |
406 |
412 |