Undo commit 79502c7f2d7163685633137c9f435fada3df413e
[pazpar2-moved-to-github.git] / js / pz2.js
index 824fd60..59c501d 100644 (file)
--- a/js/pz2.js
+++ b/js/pz2.js
@@ -1194,7 +1194,7 @@ Element_parseChildNodes = function (node)
     for (var i = 0; i < attrs.length; i++) {
         hasChildElems = true;
         var attrName = '@' + attrs[i].nodeName;
-        var attrValue = attrs[i].value;
+        var attrValue = attrs[i].nodeValue;
         parsed[attrName] = attrValue;
     }