summaryrefslogtreecommitdiffstats
path: root/src/dmidecode.c
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-05-19 15:29:56 +0200
committerDavid Sommerseth <davids@redhat.com>2009-05-20 14:19:57 +0200
commit599642f7370cb3f2fbf5c079c20269318d5a775f (patch)
tree3d172f9e2354a34cb9bc66f045d76d5172fea8d3 /src/dmidecode.c
parent52f936c82d9098b2a64986228ebc1e9109828ac9 (diff)
downloadpython-dmidecode-599642f7370cb3f2fbf5c079c20269318d5a775f.tar.gz
python-dmidecode-599642f7370cb3f2fbf5c079c20269318d5a775f.tar.xz
python-dmidecode-599642f7370cb3f2fbf5c079c20269318d5a775f.zip
Added support for value type 'list:dict' for field mapping
This builds up a list of dicts. Syntax is: <Map keytype="constant" key="TestData" valuetype="list:dict" value="/xml/XPath/to/nodes"> <Map keytype="constant" key="field" valuetype="string" key="ValueNode"/> </Map> The parser will iterate all nodes defined in the @value attribute and the root path will of the nested mapping will be using the path in @value as the root path for further parsing.
Diffstat (limited to 'src/dmidecode.c')
0 files changed, 0 insertions, 0 deletions