Access Key Menu:
Go to Home Page.
(alt-h)
Skip to Site Navigation.
(alt-n)
Skip to Search.
(alt-s)
Skip to Content.
(alt-c)
Skip to Top.
(alt-t)
Skip to Bottom.
(alt-b)
Main Navigation Menu:
Code
ASP
XSLT
CData string output
umbraco.Transfer
JavaScript
CSS
CSharp
Umbraco CMS
Contact Me
Donate to CG'10 Trip
Skip to top of page.
Search
Skip to top of page.
Using RenderTemplate to transfer content.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:Stylesheet [ <!ENTITY nbsp " "> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" exclude-result-prefixes="msxml umbraco.library"> <xsl:output method="xml" omit-xml-declaration="yes"/> <xsl:param name="currentPage"/> <xsl:variable name="PageId" select="/macro/pageId"/> <xsl:variable name="TemplateId"> <xsl:choose> <xsl:when test="/macro/templateId != ''"> <xsl:value-of select="/macro/templateId"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="umbraco.library:GetXmlNodeById(/macro/pageId)/./@template"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:template match="/"> <xsl:value-of select="umbraco.library:RenderTemplate($PageId, $TemplateId)" disable-output-escaping="yes"/> </xsl:template> </xsl:stylesheet>
Skip to top of page.
Skip to top of page.