Paradyne SLM 5.5 Network Card User Manual


 
B. Using XML to Produce Reports
7800-A2-GB32-00 January 2002
B-3
XML and XSL Examples
The XML format of the report requests and the report outputs are documented
through examples. The primary report request example, with comments showing
XML tags, attributes, and possible values, is at
/opt/pdn/OpenLane/samples/xml/reports/CommentedExampleRequest.xml
.
For more specific inventory report requests (applicable for all device types) see the
files in
/opt/pdn/OpenLane/samples/xml/reports/DeviceReports/Requests/
.
Examples of the outputs for those reports are in
/opt/pdn/OpenLane/samples/xml/reports/DeviceReports/Reports
.
For more specific SLV/SLM report requests (only for FrameSaver devices) see the
files in
/opt/pdn/OpenLane/samples/xml/reports/SlvReports/Requests/
.
Examples of the outputs for those reports are in
/opt/pdn/OpenLane/samples/xml/reports/SlvReports/Reports
.
There is also an XSL transformation example at
/opt/pdn/OpenLane/samples/xml/reports/noRequestTag.xsl
.
Normally, when the report output is in XML, the report request is returned as part
of the report. This can hinder the import of the XML into a row-based or
table-based tool such as Microsoft Access. The XSL transformation in the example
removes all non-row data such as the request and messages from the output to
facilitate that kind of import.
Additional Resources
For information about XML and for the XML and XSL specifications, see:
www.w3.org/XML
www.w3.org/Style/XSL
For information about XML editors and other software, see:
www.xmlsoftware.com