Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • atze187 160 posts 215 karma points
    Jun 25, 2009 @ 12:01
    atze187
    0

    Xslt and umbraco.library:GetCurrentDomains()

    Hi,

    this is the scenario: on a multi-language site using two different root-nodes (one for each language) i have a defined property in the document which is supposed to point to a page in the second language. So far, so good.

    When i have selected NO second-language page, GetCurrentDomains() is not going to be executed. If there is a second-language page selected, the xslt engine throws System.Xml.Xsl.XslTransformException stating, that parameters or return values of type Domain[] are not supported. So there is no chance to use this information in an xslt macro?

    tia,
    Atze

  • Jamie Pollock 27 posts 102 karma points c-trib
    Jun 25, 2009 @ 13:12
    Jamie Pollock
    100

    Hi Atze,

    As far as I can recall, GetCurrentDomains() is not supported in XSLT but it does work in a usercontrol.

    I hope this helps. :)

  • atze187 160 posts 215 karma points
    Jun 25, 2009 @ 13:24
    atze187
    0

    Yeah, thanks.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies