OpenLayers OpenLayers

Changeset 7113

Show
Ignore:
Timestamp:
05/08/08 17:19:19 (2 months ago)
Author:
sbenthall
Message:

Format.Filter.write() returns an XML node instead of a string.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector-behavior/lib/OpenLayers/Format/Filter.js

    r7107 r7113  
    6060     * 
    6161     * Returns: 
    62      * {String} An ogc:Filter elemet string
     62     * {Elment} An ogc:Filter element node
    6363     */ 
    6464    write: function(filter, options) { 
     
    7575            this.parser = new format(this.options); 
    7676        } 
    77         var root = this.parser.write(sld); 
    78         return OpenLayers.Format.XML.prototype.write.apply(this, [root]); 
     77        return this.parser.write(filter); 
     78        //return OpenLayers.Format.XML.prototype.write.apply(this, [root]); 
    7979    }, 
    8080