XML/XSL reports from SS4 do not function in OpenRoads Designer. Users get the following error when opening an SS4 report in ORD:
System.Xml.Xsl.XslLoadException: Variable 'deg' has not been declared An error occurred at C:\ProgramData\Bentley\Civil\ReportBrowser\8.11.9\en\format.xsl(753,29).
at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)
1.) Call to the "inr" xml namespace need to be changed to "cif". For example, change
2.) Change all references to "inr" namespace to "cif". For example, change
3.) Add xslShowHelp parameter: <xsl:param name="xslShowHelp" select="cif:xslShowHelp"/>
4.) Custom Format variables are no longer needed and must be removed. For example, the following variables must be removed:
5.) "OrdinateFormat" parameters have replaced NorthingFormat, EastingFormat, and ElevationFormat. For example, change
from: select="inr:northingFormat(number(End/@northing), $xslNorthingPrecision)"/>
6.) Remove the format.xsl include statement: <xsl:include href="../../format.xsl" />
<xsl:include href="../../format.xsl" />
**Note: All reports typically delivered by default with OpenRoads Designer have already been upgraded with these changes. These modifications will only have to be made to customized XSL files that will brought forward from SS4 to ORD.