diff options
| author | Jason Albert <albertj@us.ibm.com> | 2016-10-18 14:08:39 -0500 |
|---|---|---|
| committer | Jason Albert <albertj@us.ibm.com> | 2016-10-18 14:08:39 -0500 |
| commit | d2be633165f3a51c0c1efebd305e471cdc4a1898 (patch) | |
| tree | 390c83e337a8cc877c5d5a9d021c75ab952014a8 /examples | |
| parent | f9bdd7be8e0d307273f62a0796695818f3533268 (diff) | |
| download | vpdtools-d2be633165f3a51c0c1efebd305e471cdc4a1898.tar.gz vpdtools-d2be633165f3a51c0c1efebd305e471cdc4a1898.zip | |
Added example for ktvpdfile
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/ktvpdfile/ktvpdfile.tvpd | 24 | ||||
| -rw-r--r-- | examples/ktvpdfile/vini-hx.xml | 6 |
2 files changed, 30 insertions, 0 deletions
diff --git a/examples/ktvpdfile/ktvpdfile.tvpd b/examples/ktvpdfile/ktvpdfile.tvpd new file mode 100644 index 0000000..be43c90 --- /dev/null +++ b/examples/ktvpdfile/ktvpdfile.tvpd @@ -0,0 +1,24 @@ +<?xml version='1.0' encoding='utf-8'?> +<vpd> + <name>FILENAME</name> + <size>16kb</size> + <VD>01</VD> + <record name="VINI"> + <rdesc>The VINI record</rdesc> + <keyword name="RT"> + <kwdesc>The Record Type keyword</kwdesc> + <kwformat>ascii</kwformat> + <kwlen>4</kwlen> + <kwdata>VINI</kwdata> + </keyword> + <keyword name="AS"> + <kwdesc>The ascii keyword</kwdesc> + <kwformat>ascii</kwformat> + <kwlen>20</kwlen> + <kwdata>This is text data</kwdata> + </keyword> + <keyword name="HX"> + <ktvpdfile>vini-hx.xml</ktvpdfile> + </keyword> + </record> +</vpd> diff --git a/examples/ktvpdfile/vini-hx.xml b/examples/ktvpdfile/vini-hx.xml new file mode 100644 index 0000000..30dd447 --- /dev/null +++ b/examples/ktvpdfile/vini-hx.xml @@ -0,0 +1,6 @@ +<keyword name="HX"> + <kwdesc>The Hex keyword</kwdesc> + <kwformat>hex</kwformat> + <kwlen>4</kwlen> + <kwdata>00000000</kwdata> +</keyword> |

