Skip to content

Commit

Permalink
Change the order of the csw:Constraint and the ogc:SortBy tags in the…
Browse files Browse the repository at this point in the history
… GetRecords request to match the CSW schema

http:https://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd
  • Loading branch information
jvanzadelhoff committed Jul 17, 2020
1 parent d2cb14f commit 08505c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/inspireRequest.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,6 @@
outputSchema="http:https://www.isotc211.org/2005/gmd">
<csw:Query typeNames="gmd:MD_Metadata" xmlns:gmd="http:https://www.isotc211.org/2005/gmd">
<csw:ElementSetName>full</csw:ElementSetName>
<ogc:SortBy>
<ogc:SortProperty>
<ogc:PropertyName>apiso:Identifier</ogc:PropertyName>
<ogc:SortOrder>ASC</ogc:SortOrder>
</ogc:SortProperty>
</ogc:SortBy>
<csw:Constraint version="1.1.0">
<ogc:Filter>
<xsl:choose>
Expand Down Expand Up @@ -199,6 +193,12 @@
</xsl:choose>
</ogc:Filter>
</csw:Constraint>
<ogc:SortBy>
<ogc:SortProperty>
<ogc:PropertyName>apiso:Identifier</ogc:PropertyName>
<ogc:SortOrder>ASC</ogc:SortOrder>
</ogc:SortProperty>
</ogc:SortBy>
</csw:Query>
</csw:GetRecords>
</xsl:template>
Expand Down

0 comments on commit 08505c7

Please sign in to comment.