Using Fiber Manager
Fiber Manager Reporting

Resource Center Home

Fiber Manager provides the ability to generate XML or HTML-based reports that graphically display information about your fiber optic network. You can generate the following five reports with Fiber Manager:

Report Locations

Each fiber report consists of the report itself, an .xml file, and its template, the .xslt file. The .xslt files may require other files, such as images, to support the format of any given report.

With the 10.2.1a release, the Cable Report does not generate an .xml file, a template, or .xslt file. You can modify the .html file that appears in your browser when the report runs to change it (add a logo, rename columns, etc.).

Report Internationalization

You can customize the numbering formats for values that appear in the Glass Report and the Fiber Trace Report.

Default Numbering Format

Open a report's corresponding .xslt file and examine the decimal and grouping separators at the top of the page:

    <xsl:decimal-format name="dformat"
                        decimal-separator="."
                        grouping-separator=","/>

The pattern format (pformat variable) must match the separator values:

    <xsl:variable name="pformat"
                  select="'###,###.##'"/>

By default, this would display values in the report as, for example, 2,395.25.

Internationalized Numbering Format

You could alter this code to accommodate the French formatting standard:

    <xsl:decimal-format name="dformat"
                        decimal-separator=","
                        grouping-separator=" "/>

Then adjust the pattern format (pformat variable) to match the new separator values.

    <xsl:variable name="pformat"
                  select="'### ###,##'"/>

Making this change causes values in the Glass Report to display as, for example, 2 395,25. For internationalizing the Glass Report, this is all you must change. For the Fiber Trace Report, you must complete not only changes to the decimal separator, grouping separator, and pattern format variable, but also additional configuration. This involves locating every further instances of "dformat" (other than those described above) and adjusting the decimal or grouping separator in those variables.

For example, this is the default code that determines the style of a particular column's values:

        <td class="length">
          <xsl:value-of select="format-number($length, '###,##0.##', 'dformat')"/>
        </td>

Following the same example as above (changing the report to accommodate the French formatting standard) you would need to change that code as follows in order for the report, and the new numbering format, to display properly:

        <td class="length">
          <xsl:value-of select="format-number($length, '### ##0,##', 'dformat')"/>
        </td>

Learn more about the xslt function and element involved:

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com