[OpenLayers-Users] Re: WPS execute in Openlayers

simon1 punsita071 at yahoo.com
Wed Sep 21 13:42:44 EDT 2011


Hello Bart,
I am trying understand how it works. Meanwhile I tried to read an xml file
using OpenLayers.Format.XML().read() function.  I made a test file but it
gives error "OpenLayers.Format is undefined".

"<html>
<head>
	
	
	
	
	</head>
	</body>
	</html>"

I want to read the output node and get the value "xyz". Is this the correct
way for doing  it? Plz suggest how can I make it working?
I also checked out 
http://trac.osgeo.org/openlayers/attachment/ticket/3307/wps.patch where I
saw
function test_read(t) { 
 		 
 		        t.plan(7); 
 		 
 		        var format = new OpenLayers.Format.WPSCapabilities(); 
 		        var obj = format.read(doc); 
 		 
 		        t.eq(obj.version, "1.0.0", "Version parsed correctly"); 
.........and so on...
}
but I couldn't understand what is "t" and where it is passed from? I am
sorry if my questions appear very simple but I am just getting started with
it.

Hope to get your guidance.

.........



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WPS-execute-in-Openlayers-tp6807350p6817036.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list