XSLT Visualizer

Coordinator
Sep 16, 2009 at 8:17 PM

Should I expect to be able to use the "Visualize XSLT" button in Umbraco to test XSLT that uses the c4u xslt extension library?

I'm getting this error:

Error parsing the XSLT:

System.Xml.Xsl.XslLoadException: Prefix 'c4u' is not defined. An error occurred at (19,3). at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at System.Xml.Xsl.XslCompiledTransform.Load(XmlReader stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at umbraco.macro.CreateXsltTransform(XmlTextReader xslReader, Boolean debugMode) at umbraco.presentation.umbraco.developer.Xslt.xsltVisualize.visualizeDo_Click(Object sender, EventArgs e)

Coordinator
Sep 16, 2009 at 8:49 PM

NM... solved it.  By default my XsltExtensions.config had the alias as ucProduct instead of c4u.