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:
@@ -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>'
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user