Hi all,
Upon adding my SS4 OpenRoads reports into ORD I have realised there has been an XSL format change. Nothing major, but enough to require editing of all pre-existing report XSLs to work with ORD.
This includes an understandable replacement of the old "inr" namespace with "cif" and some format changes, ie. old "elevationFormat" is now "ordinateFormat". There has also been the removal of the units and precision parameters that previously allowed for hardcoding of units.
eg.
NEW = <xsl:value-of select="cif:ordinateFormat(number(GeometryPoint/@elevation))"/>
OLD = <xsl:value-of select="inr:elevationFormat(number(GeometryPoint/@elevation), $xslElevationPrecision1)"/>
The provided documentation in: C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\Default\Reports\ are still just the Inroads report documents - Is there any documentation on the new XSL report format or at least a supplement that we can use to create reports for ORD?
One welcome change is that the report error dialog now points you to what the error is in the XSL which was quite frustrating to pinpoint previously, but some documentation would avoid constant trial-and-error to resolve errors in commonly used reports
Thanks, Mark. I expected so, but I just began converting some reports and I didn't notice any issues but I wanted to check.
Hi Derek, if I recall correctly, this was fixed a while ago.
Regards,
Mark
OpenRoads Designer 2022 R3 (10.12) | Microstation 2023 | ProjectWise CE 3.4
Thanks, Kevin. Do you know if this has been fixed, 5.5 years later?
Kevin, do you have an update on documentation? Since you have removed the format.xsl file, documentation is even more crucial as we have no way of knowing what functions are available in the cif namespace. We used to be able to open format.xsl and review all the javascript functions that were present, but now we have no way of knowing what functions are available. Am in the process of updating FDOT's XSL reports to work in ORD.