# The text in this example is escaped: |
Text to be encapsulated
XML('text')
XML(record.text)
XML(text, sanitize=False)
XML(text, sanitize=False,
permitted_tags=['a', 'b', 'blockquote', 'br/', 'i', 'li', 'ol', 'ul', 'p', 'cite', 'code', 'pre', 'img/'],
allowed_attributes=
{'a':['href', 'title'],'img':['src', 'alt'], 'blockquote':['type']})