How to format Discovery Data Export XML to HTML using XSLT Stylesheet Template

Introduction

Utility based on the new Admin Console 5.3.0 “Export Discovery Data” feature. It styles the exported xml file into readable tables with expandable sections and dropdowns.

Requirements

  • Licensed RTI Connext Launcher 5.3.x
  • Web Browser

How to apply the XSLT Template

  • Open RTI Connext Launcher → Admin Console

         

  • Navigate to File - > Export Discovery Data

           

  • Complete the export by selecting if Data Obfuscating is required. Select the path and name of the export xml file. 

           

  • Once the export is completed copy the provided stylesheet.xslt to the same path (download file from below).
  • Files needed:
    • Admin Console export XML: discovery.xml
    • XSLT Template File: stylesheet.xslt
  • Edit the xml export file. Add at the start of the XML file the reference to the XSLT stylesheet. In our example case the xml file will look like this:                     
<?xml version="1.0"?>
<?xml stylesheet type="text/xsl" href="stylesheet.xslt"?>
 <system>
 ...
 <system>
  •  Open the xml file with your preferred web Browser*.

 

Note: For security reasons, latest version of Chrome does not allow XSLT when using local drive files.

Possible solutions for visualization with Google Chrome

  1. Accessing to the xml files via browser using a web server functionality, i.e: http://127.0.0.1:8887/xml_files/discovery.xml
  2. Upload the xslt file to the web and reference the URL inside the xml. 
<?xml version="1.0"?>
<?xml stylesheet type="text/xsl" href="http://.../stylesheet.xslt"?>
 <system>
 ...
 <system>

Example Screenshots with the stylesheet applied to an XML example file

General System View

Participant List

Application details

Announcing Locators                                                        Metatraffic Multicast Locators

               

Metatraffic Unicast Locators

 Publications : List of DataWriters


 

Subscriptions : List of DataReaders

Attachments: