Hi,

I was a bit surprised by the fact that this works:

        resolve-uri('high-tide.jpg', '/foo/bar.xml')

But this doesn't..

        xdmp:xslt-eval(<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <xsl:template match="node()">
                <test>
                <xsl:value-of select="resolve-uri('my.jpg',
'/foo/bar.xml')"/>
                </test>
        </xsl:template>
        </xsl:stylesheet>, <test/>)

Anyone know a trick to get the same behavior in XSLT?

Kind regards,
Geert

M.Sc. G.P.H. (Geert) Josten
Senior Developer


Dayon B.V.
Delftechpark 37b
2628 XJ Delft
The Netherlands

T +31 (0)88 26 82 570

[email protected]
www.dayon.nl

De informatie - verzonden in of met dit e-mailbericht - is afkomstig van
Dayon BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan
dit bericht kunnen geen rechten worden ontleend.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to