This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<s:Button id="sendBtn" label="Send" click="sendBtn_clickHandler(event)" | |
enabled="{!model.documentSending && model.documentCreated}"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xml.etree.ElementTree as ET | |
CDATA_KEY = "__CDATA__" #cdata tag name for sustitution | |
def monkey_patch(): | |
"""Monkey Patch ElementTree, to support CDATA""" | |
_serialize_xml = ET._serialize_xml | |
def _serialize_xml_cdata(write, elem, encoding, qnames, namespaces): | |
tag = elem.tag |