<s> from twisted . web . template import Element , renderer , XMLFile <EOL> from twisted . python . filepath import FilePath <EOL> class ExampleElement ( Element ) : <EOL> loader = XMLFile ( FilePath ( '<STR_LIT>' ) ) <EOL> @ renderer <EOL> def renderer1 ( self , request , tag ) : <EOL> return tag ( "<STR_LIT:hello>" ) <EOL> @ renderer <EOL> def renderer2 ( self , request , tag ) : <EOL> return tag ( "<STR_LIT>" ) </s>
