NetPDL document: a field
<fixed
name="demofield”
showname="Demo Field”
size="word”
showtype="hex”
showgrp=“2”
showsep=“-”
showmap="demomap”
showdtl="demodtl”/>
The resulting field into the PDML document
<field
name="demofield”
showname="Demo Field”
size=“4”
pos=“7”
value=“4”
print=“00-04”
showmap=“Request”
showdtl=“Request (code 00-04)”/>
NetPDL document: the mapping table
<showmap name=“demomap”>
<match value=“4” show=“Request”/>
<match value=“5” show=“Reply”/>
<match value=“4” show=“COmmit”/>
</showmap>
NetPDL document: the custom template
<showdtl name=“demodtl”>
<fld name=“showmap”/>
<text value=“ (Code )”/>
<fld name=“print”/>
<text value=“)”/>
</showdtl>
评论0