import formats from global area into formats in site

Timothy Gilman's Avatar

Timothy Gilman

26 May, 2010 05:13 PM

We are currently using version 6.0.3, but are testing 6.7 beta. We have one site in Cascade Server, but most of our content is still in the global region. We have a number of XSLT formats in our site that do an xsl:import of formats in the global region. This worked fine in 6.0.3 but in 6.7 beta I get an error. For example, when our format imports the following from the global region:
<xsl:import href="/www.willamette.edu/_internal/global/formats/PseudoHTMLReplace"/> we get the following error message:
"Invalid XSLT: Had IO Exception with stylesheet file: www.willamette.edu/_internal/global/formats/PseudoHTMLReplace"

Is there a way to specify that this is coming from the global region? I tried
<xsl:import href="global:/www.willamette.edu/_internal/global/formats/PseudoHTMLReplace"/> but that doesn't work either.

Thanks,

Timothy

  1. 1 Posted by Joel on 26 May, 2010 06:30 PM

    Joel's Avatar

    Hi Timothy,

    Unfortunately you cannot link to the Global Area, but if you were to attempt it the syntax would resemble the code below.

    <xsl:import href="site://Global/example"/>
    

    Thanks!

  2. Joel closed this discussion on 26 May, 2010 06:30 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac