xquery version "1.0"; declare option exist:serialize "method=xml media-type=text/xml"; let $input := request:get-data() return
The request to the server failed, maybe due to missing permissions? The server's message is shown below:
{ typeswitch($input/*) case element() return $input//div[@class = 'description'] default return $input }