Xml And Xsl Examples; Additional Resources - Paradyne OpenLane SLM 5.5 Administrator's Manual

Paradyne network device administrator's guide
Table of Contents

Advertisement

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:
T T
T T
For information about XML editors and other software, see:
T
7800-A2-GB32-00
www.w3.org/XML
www.w3.org/Style/XSL
www.xmlsoftware.com
January 2002
B. Using XML to Produce Reports
B-3

Advertisement

Table of Contents
loading

Table of Contents