add formats for CSW GetRecords and GetDomain requests, p=bbinet, r=me (closes #2132)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9699 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2009-10-05 08:15:48 +00:00
parent 3fa2971816
commit 5fad952e8a
12 changed files with 1011 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
var csw_request =
'<csw:GetDomain xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" service="CSW" version="2.0.2">' +
'<csw:PropertyName>type</csw:PropertyName>' +
'</csw:GetDomain>';
var csw_response =
'<?xml version="1.0" encoding="UTF-8"?>' +
'<csw:GetDomainResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2">' +
'<csw:DomainValues type="csw:Record">' +
'<csw:PropertyName>type</csw:PropertyName>' +
'<csw:ListOfValues>' +
'<csw:Value my_attr="my_value">dataset</csw:Value>' +
'<csw:Value>service</csw:Value>' +
'</csw:ListOfValues>' +
'</csw:DomainValues>' +
'</csw:GetDomainResponse>'
;