Cross-Site Linking with Data Definition Page Selector

jklingman's Avatar


18 Jan, 2011 05:13 AM

I've looked through the help forum and KB for this and couldn't find an answer. We are attempting to link from one site to another using a page selector in a DD. The XSL that reads the selected from the DD is:

'<xsl:value-of select="link-page/path"/>'

However, when linking to another site, the link that is publishing out is:


So it's not picking up the site URL at all. I see in the KB where you can link to something like:


But what if we can't hard-code the "sitename" value since we don't know which of the sites they'll choose to link to? My bottom line question is, how do we cross-site link using a page selector? Thanks.

  1. Support Staff 1 Posted by Tim on 18 Jan, 2011 02:30 PM

    Tim's Avatar

    Hey there,

    If you take a look at the XML produced after you select a Page with a Page chooser, you'll notice that it contains a <link> element in addition to <path>. For example:

        <content />
        <title>Content Management for Higher Education</title>
        <summary>Managing a college or university site is difficult.
        How much more effective could your site be with the proper
        <author>Hannon Hill Corporation</author>

    So, rather than using the path element to construct the links in your Format, try using the link element as that contains the cross-site link which includes the Site URL.

    Let me know if this helps.

  2. 2 Posted by jklingman on 18 Jan, 2011 09:52 PM

    jklingman's Avatar

    Wow, I should have known that. I mean, I knew that. I'm glad that I had you go through this exercise...I wanted others to have a good point of reference if they encountered the same issue. :)

    Thanks Tim.

  3. jklingman closed this discussion on 18 Jan, 2011 09:52 PM.

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

Keyboard shortcuts


? 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