On Tue, 08 Mar 2016 07:12:52 -0800, David Sewell <dsew...@virginia.edu> wrote:
> Thanks, Mary, this is good to know. If the @xdmp:dialect specification > for XSLT > is a fully supported MarkLogic feature, should it be added to the > documentation? > It's not in "XQuery Dialects" > (https://docs.marklogic.com/guide/xquery/dialects) > > David It should be documented under XSLT extensions, but I see that it is not. I'll open a doc bug. Cheers //Mary > > On Mon, 7 Mar 2016, Mary Holstege wrote: > >> >> >> 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 <li...@fgeorges.org> >> 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 General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general