This below section in SLD worked ok in 2.10 Geoserver, where it did not include any records from that layer.
<Filter>
<Or />
</Filter>
However, This does not work in GetMap of GeoServer 2.20. It shows the "Rendering process failed" error.
Does anyone know what to pass in this filter node so that, the layer features are ignored in the final print? I have tried an empty filter node, does not work and loads all features from the layer.
<Filter>
</Filter>