Packet Packer XML Demo |
This page is an
interactive demonstration of XML Schema and XSLT. You can modify the XML
document and verify that it still satisfies the schema (or see the error
message if it doesn't) and then use an XSLT stylesheet to process the result.
The XML document describes a packet of information flowing in an AFDX aircraft
Ethernet. The XSL stylesheet breaks large fields into 32 bit chunks and
adds pad fields as needed to make them fit into 32 bit words. Modern airplanes use a special kind of Ethernet called AFDX (Avionics Full Duplex Switched Ethernet). Applications register their communication needs and computer programs schedule network traffic ahead of time (before the airplane leaves the ground). During flight, these pre-registered packets flow through the network at predetermined times using predetermined routing. The XSLT stylesheet used here is similar to one small section of a large stylesheet I developed to report the result of these calculations. There is a short primer on AFDX at www.afdx.com. |