public virtual void OnWriteToXmlNode(IXmlCodeWriter writer, XmlNode node) { if (_hasData) { if (_exp != null) { _exp.OnWriteToXmlNode(writer, node); } } XmlUtil.SetAttribute(node, XMLATT_HasData, _hasData); }