1 rng.modules.visualEditor.transformations = {};
3 rng.modules.visualEditor.transformations.fromXML = {
4 getHTMLTree: function(xml) {
7 getMetaData: function(xml) {
10 getDocumentDescription: function(xml) {
12 HTMLTree: this.getHTMLTree(xml),
13 metadata: this.getMetaData(xml)
19 rng.modules.visualEditor.transformations.toXML = {
20 getXML: function(documentDescription) {
21 return documentDescription.HTMLTree;