XPath in an XSLT 2.0 context in MarkLogic uses strict 2.0 conformance mode (same as if you declare the XQuery version as 1.0).
There is a hook to use different dialects instead and these have the same impact on XPath in XSLT as they do on XPath in XQuery. Add the attribute xdmp:dialect e.g. <xsl:stylesteet xdmp:dialect="1.0-ml".... //Mary On Sun, 06 Mar 2016 02:34:50 -0800, Florent Georges <[email protected]> wrote: > Hi, > > If I try to use the XPath 3.0 mapping operator `!` or the concat operator > `||`, > MarkLogic throws an error: > > XDMP-EXTENSION: (err:XPST0003) MarkLogic extension syntax used, > simple > mapping expressions are not supported in XSLT mode > > But they are not MarkLogic extensions, they are standard XPath operators > (but > in version 3.0, rather than in version 2.0 supported by XSLT 2.0, > supported > by > MarkLogic.) At least in forward compatibility mode, I think they should > be > "unlocked". > > Well, at least if it is only a matter of "unlocking" them. I assume they > have > been disabled from XSLT, even although their implementation in XQuery > can be > reused as is, but maybe there is an more profound reason why they were > disabled > in the first place. > > Regards, > -- Using Opera's revolutionary email client: http://www.opera.com/mail/ _______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
