summaryrefslogtreecommitdiffstats
path: root/docs/xmlformat.md
diff options
context:
space:
mode:
authorJason Albert <albertj@us.ibm.com>2016-08-30 14:59:38 -0500
committerJason Albert <albertj@us.ibm.com>2016-08-30 14:59:38 -0500
commit0fcfe899425a3d857cfca4895564e82a3f4f0fb2 (patch)
treef77323e6838ee3fc9009b1d5158fd3a854f86b4a /docs/xmlformat.md
parentefbc0022675cefdef6abc9351d6b0e255c4897de (diff)
downloadvpdtools-0fcfe899425a3d857cfca4895564e82a3f4f0fb2.tar.gz
vpdtools-0fcfe899425a3d857cfca4895564e82a3f4f0fb2.zip
Renamed file to have .md extension
Diffstat (limited to 'docs/xmlformat.md')
-rw-r--r--docs/xmlformat.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/xmlformat.md b/docs/xmlformat.md
new file mode 100644
index 0000000..b442458
--- /dev/null
+++ b/docs/xmlformat.md
@@ -0,0 +1,31 @@
+## Introduction
+
+This file will describe the xml of the vpd template file format used to
+describe the contents of a VPD image
+
+## High Level Description
+
+The template VPD format is XML, used to describe the contents of a binary VPD image. The template file is fed into createVpd.py. It in turn interprets that XML, error checks it and creates a binary VPD image.
+
+The template consists of 3 levels
+* `<vpd>` - information about the overall VPD image
+* `<record>` - information about a record in `<vpd>`
+* `<keyword>` - information about a keyword contained in a `<record>`
+
+The XML Hierarchy looks like the following:
+``` xml
+<vpd>
+ <record>
+ <keyword>
+ </keyword>
+ <keyword>
+ </keyword>
+ </record>
+ <record>
+ <keyword>
+ ..
+ </record>
+ <record>
+ ..
+</vpd>
+``` \ No newline at end of file
OpenPOWER on IntegriCloud