Getting the XML - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

The report is based on XML raw data which has not had any transformation applied to it. Knowing what the report is based on helps facilitate defining the XSL template. To generate the raw XML, the following steps need to be taken.

The example shows how to get data for an external transmittal, but the same concepts apply to internal transmittals, as well.

  1. Find or create a transmittal that contains all the information on that will appear in the final report. Note the name of the transmittal.

  2. Create a new report using the File > New > Report command.

  3. Select the view definition for the transmittal report for which you want to configure a template.

    SHARED Tip The delivered view definitions are Internal XMTL Report and External XTML Report.

  4. Select all the report details, and choose XHTML as the output format.

    • Do not name the template.

    • Filter the report criteria to the name of the transmittal found or created in step 1.

    • This reduces the amount of data to be returned from the report and makes reading the XML structure easier.

  5. Click OK to run the report.

    A web browser window opens and contains the raw XML that will be used to create the template to style the report. The file can be saved from the web browser by viewing the page source. The file can be used to create a manually edited template or it can be used with third party tools to create the template. The results of the report should look like the following image.

    XHTMLReport