From: Joe W. <jo...@gm...> - 2021-02-04 19:50:20
|
Hi Eduard, When you say the XSLT "works via the command line", which command is it that you use? For the XQuery call to transform:transform, which version of eXist are you using? And I assume you're using the stock version of Saxon included with eXist and haven't replaced it with your own - but if I'm wrong, please specify. Joe On Mon, Feb 1, 2021 at 5:38 AM Eduard Drenth <ed...@fr...> wrote: > Dear all, > > I have I xslt that works fine from the command line, it processes files in > a directory: > > <xsl:for-each select="collection($dir)/*"> > > > Now I want to call it from xquery like this: > > > transform:stream-transform((),$teidictjson:parallelxslt, > <parameters> > <param name="dir" value="xmldb:exist://{$config:data-root}"/> > > </parameters>) > > > This however produces an error: > > > Exception while transforming node: I/O error reported by XML parser processing null: Resource /db/apps/teidictjson/data is a collection > > > Tried a lot of things, no luck yet. > > > Any idea's? > > > Greetings, Eduard > > > -- > > Eduard Drenth, Software Architekt > > ed...@fr... > > Doelestrjitte 8 > 8911 DX Ljouwert > +31 58 234 30 47 > +31 62 094 34 28 (privé) > > skype: eduarddrenth > https://github.com/eduarddrenth > frisian.eu > gpg: https://pgp.surfnet.nl/pks/lookup?search=eduarddrenth > > > Op freed bin ik thús/wurkje ik minder > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |