xmlUtils.js (290B)
1 function xmlGetNodeText(node) { 2 if (node) { 3 return Array.prototype.slice.call(node.childNodes) 4 .map(function(node) { 5 return node.nodeValue; 6 } 7 ) 8 .join(''); 9 } 10 return null; 11 } 12 13 export {xmlGetNodeText};
nakarteSource code of https://map.sikmir.ru (fork) | |
git clone git://git.sikmir.ru/nakarte | |
Log | Files | Refs | LICENSE |