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?
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
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. :)
Yeah, thanks.
is working on a reply...