Protocol analysis
R&S
®
RTP
761User Manual 1337.9952.02 ─ 12
Figure 13-18: Example of XML file syntax with three custom frame format descriptions
The first out of three XML frames in Figure 13-18 is interpreted by the software in the
following way:
A suitable XML file as shown in Figure 13-18 is composed as follows:
Header:
<?xml version="1.0" encoding="utf-8"?>
Root Element:
<FrameDescription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Version="1" xsi:noNamespaceSchemaLocation=".\Schema\FrameDescription.xsd">
The root element contains the "Frame Description" attributes, including a link for the
fileFrameDescription.xsd. This schema file, which is installed in the system, ena-
bles the software to validate an XML file before opening it.
Frame:
A frame description must include between 0 and n tags of the following kind:
<Frame> </Frame>
Frame Type:
Each "<Frame>" tag requires a "Type" attribute in string format:
<Frame Type = “string”>
Tells the software the name of each frame.
Format:
Each frame must include between 1 and n tags of the following kind:
<Format> </Format>
Together with the attributes, this is written in short form, as in Figure 13-18:
<Format attribute... attribute... attribute... />
The format describes the fields in each frame. It can have the following attributes:
Custom: Manchester / NRZ (option R&S
RTP-K50)M