Visualize XSLT issue on Umbraco 4.9.1

Solution:
Modify “editXslt.aspx” xsltVisualize function as follow

Change UmbEditor._editor.selection() to UmbEditor._editor.getSelection();

FYI: You can find “editXslt.aspx” under “umbraco/developer/Xslt” folder

Advertisements

Output Line Breaks in XSLT Umbraco

In the XSLT script, you can nicely formatted with each item on a separate line and indented use indent=”yes”, output will then be indent

eg:

<xsl:output method=”xml” indent=”yes” omit-xml-declaration=”yes” />