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.
You can modify the XML in this textbox and see the result in the table further down the page:




Resulting Network Data Packet:
Addr. 0
0
0
1
0
2
0
3
0
4
0
5
0
6
0
7
0
8
0
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
3
0
3
1
0x0 Field A Field B pad
0x20 Big Field
0x40 cont pad
0x60 Field X Field Y
0x80 Field Z








Back To Fast Gun Software, Inc. home page.
Error Messages (if you see anything here, your modifications didn't satsfy the schem):