Bonsoir Olivier,
Any particular reason why you changed the function getFeatureNodes() in
lib/model/FeatureCollection.js from:
this.getFeatureNodes = function() {
return this.doc.selectNodes(this.nodeSelectXpath);
}
to:
this.getFeatureNodes = function() {
//alert( (new XMLSerializer()).serializeToString(this.doc))
var featureMember = this.doc.selectSingleNode(this.nodeSelectXpath);
if( featureMember != null )
return featureMember.childNodes
else
return null;
}
As far as I can see, the old version returns an array of nodes (as most
callers of the function seem to expect), whereas the new one does not.
Can I revert the behaviour to the old version, as otherwise my code no
longer works?
A+,
--
-- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel