I don't know where to see the stack trace, I just get this message on the page
Error: Supplied XDocument must have a root named html belonging to the namespace 'http://www.w3.org/1999/xhtml'
C1 Function: Layout.SyncroSystemOneColumn
The function is like that:
@inherits RazorFunction
@using Composite.Core.Xml;
@functions {
<html xmlns="http://www.w3.org/1999/xhtml">
<head> @*you can add template specific head elements here*@</head><body>
</html>
Bye
Sebastiano
Error: Supplied XDocument must have a root named html belonging to the namespace 'http://www.w3.org/1999/xhtml'
C1 Function: Layout.SyncroSystemOneColumn
The function is like that:
@inherits RazorFunction
@using Composite.Core.Xml;
@functions {
// C1 Function parameters defined below...
[FunctionParameter(Label = "Content", Help = "Content")]
public XhtmlDocument Content { get; set; }
}
@{Layout = "~/App_Data/Razor/Layout/SyncroSystemMasterLayout.cshtml";
}<html xmlns="http://www.w3.org/1999/xhtml">
<head> @*you can add template specific head elements here*@</head><body>
<div class="container">
<div class="col-md-12">
@Html.Raw(Content.ToString())
</div>
</div>
</body></html>
Bye
Sebastiano