From e6399a265dea4b3cb8bdb012aa3554dc4172116d Mon Sep 17 00:00:00 2001 From: tschaub Date: Thu, 25 Oct 2012 11:56:48 -0600 Subject: [PATCH] Use document fragments to write multiple nodes For writer functions that need to generate multiple nodes, the createDocumentFragment method can be used. --- lib/OpenLayers/Format/Filter/v1.js | 38 +++++++----------------------- lib/OpenLayers/Format/XML.js | 20 ++++++++++++++++ tests/Format/XML.html | 29 +++++++++++++++++++++++ 3 files changed, 57 insertions(+), 30 deletions(-) diff --git a/lib/OpenLayers/Format/Filter/v1.js b/lib/OpenLayers/Format/Filter/v1.js index bd7cc32f09..824984828d 100644 --- a/lib/OpenLayers/Format/Filter/v1.js +++ b/lib/OpenLayers/Format/Filter/v1.js @@ -281,19 +281,6 @@ OpenLayers.Format.Filter.v1 = OpenLayers.Class(OpenLayers.Format.XML, { return this.writers.ogc["Filter"].apply(this, [filter]); }, - /** - * Method: writeFeatureIdNodes - * - * Parameters: - * filter - {