Comparing versions 3 and 4.

XmlToEformInfotron

For information on what an EForm is please read this

Sample Declaration

<div id=""
     impl=""
     properties=""
     script="">
<script src="http://goessner.net/download/prj/jsonxml/xml2json.js"></script>src="http://goessner.net/download/prj/jsonxml/xml2json.js">
</script>
</div>
## Input Terminals ## Output Terminals ## Properties ## Demos that use it ## How does it work? ## Source

BLUEPRINT(
"~01E9D8C85B9B9E4fa388452899F41D025D", 
[
 ["xml_in", "onXml", 10]
],
[
 "eform_out"
],
function (Class) 
{
  Class.prototype._onInit = function(props) 
  {
    if (!xml2json) {
      self.error("Missing dependency: http://goessner.net/download/prj/jsonxml/xml2json.js");
    }
  };

  Class.prototype.onXml = function(msg)
  {
    var val;

    try {
      val = eval(xml2json(msg));
      self.postMessage("eform_out", val);
    } catch (ex) {
      this.error(ex, "Error parsing XML: " + msg);
    }
  };

}, "New Infotron");

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 4. about 1 year by slim
  2. 3. about 1 year by slim
  3. 2. about 1 year by slim
  4. 1. about 1 year by xexamedes