From 46ba55d886df3bb64e8d8effed01f4bd138875f9 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Fri, 30 Mar 2012 19:57:54 -0700 Subject: [PATCH] Allow for SLD input. --- examples/wps.js | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/examples/wps.js b/examples/wps.js index bfea47cf10..98c7467d96 100644 --- a/examples/wps.js +++ b/examples/wps.js @@ -80,8 +80,9 @@ function buildForm() { document.getElementById("input").innerHTML = "

Input:

"; document.getElementById("output").innerHTML = ""; - var inputs = process.dataInputs, supported = true; - var input; + var inputs = process.dataInputs, supported = true, + sld = "text/xml; subtype=sld/1.0.0", + input; for (var i=0,ii=inputs.length; i