diff --git a/rest/intermediate_format.xql b/rest/intermediate_format.xql index 8029efb53037e95b599b5a2480858a012af9a993..50e8c1838056693ea96a5aed2c7e0416a10dbae3 100644 --- a/rest/intermediate_format.xql +++ b/rest/intermediate_format.xql @@ -9,8 +9,8 @@ import module namespace ident = "http://bdn.edition.de/intermediate_format/ident declare option exist:serialize "method=xml media-type=text/xml omit-xml-declaration=no indent=no"; (: http://localhost:8080/exist/rest/apps/interform/rest/intermediate_format.xql :) -(: :declare variable $doc-path := request:get-parameter("path", ()); :) -declare variable $doc-path := "/apps/interform/data/sample1.xml"; +declare variable $doc-path := request:get-parameter("path", ()); +(:declare variable $doc-path := "/apps/interform/data/sample1.xml";:) let $doc := doc($doc-path) let $preprocessed-data := pre:preprocessing($doc/tei:TEI) return (