add ol.format.XSD CDATA writer
This commit is contained in:
@@ -114,6 +114,15 @@ ol.format.XSD.writeBooleanTextNode = function(node, bool) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {Node} node Node to append a CDATA Section with the string to.
|
||||
* @param {string} string String.
|
||||
*/
|
||||
ol.format.XSD.writeCDATASection = function(node, string) {
|
||||
node.appendChild(ol.xml.DOCUMENT.createCDATASection(string));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {Node} node Node to append a TextNode with the dateTime to.
|
||||
* @param {number} dateTime DateTime in seconds.
|
||||
|
||||
Reference in New Issue
Block a user