• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.amH A D15-Feb-20211.1 KiB7765

Makefile.inH A D03-May-202227.1 KiB881790

README.xml2dbH A D15-Feb-20213.4 KiB10460

base64.cH A D15-Feb-20215.8 KiB222161

base64.hH A D15-Feb-20212.8 KiB7218

configmgr.cH A D15-Feb-202112.2 KiB532348

configmgr.hH A D15-Feb-20215 KiB13765

configmgr_be.hH A D15-Feb-20216.9 KiB14781

configmgr_l.hH A D15-Feb-20211.7 KiB406

configmgr_p.hH A D15-Feb-20212.5 KiB6925

db.cH A D15-Feb-202143.8 KiB2,0261,506

db.hH A D15-Feb-202140.3 KiB1,228298

db_p.hH A D15-Feb-20214.9 KiB15173

dbio.cH A D15-Feb-202112.7 KiB577403

dbio.hH A D15-Feb-20215.7 KiB21382

dbio_be.hH A D15-Feb-20213.3 KiB9630

dbio_l.hH A D15-Feb-20211.8 KiB426

dbio_p.hH A D15-Feb-20212.2 KiB6520

dbrw.cH A D15-Feb-202129.9 KiB1,092890

msgengine.cH A D15-Feb-2021111.5 KiB4,1063,286

msgengine.hH A D15-Feb-202118.7 KiB560265

msgengine_p.hH A D15-Feb-20218.1 KiB206137

path.cH A D15-Feb-202112.1 KiB427294

path.hH A D15-Feb-20218 KiB23751

tag16.cH A D15-Feb-20214.2 KiB241167

tag16.hH A D15-Feb-20211.5 KiB4519

tag16_p.hH A D15-Feb-2021861 3412

text.cH A D15-Feb-202148.5 KiB2,2591,825

text.hH A D15-Feb-202112.7 KiB390145

tlv.cH A D15-Feb-202116.7 KiB757623

tlv.hH A D15-Feb-20213.8 KiB12355

tlv_p.hH A D15-Feb-2021817 3513

url.cH A D15-Feb-20216.9 KiB395301

url.hH A D15-Feb-20214.6 KiB20348

url.xmlH A D15-Feb-20211.1 KiB4134

url_l.hH A D15-Feb-2021404 3310

url_p.hH A D15-Feb-2021665 4419

urlfns.cH A D15-Feb-20219 KiB425335

urlfns.hH A D15-Feb-20211.3 KiB5421

xml.cH A D15-Feb-202141.8 KiB2,0161,476

xml.hH A D15-Feb-202127.2 KiB912257

xml2db.cH A D15-Feb-20212.7 KiB8940

xml2db.hH A D15-Feb-20212 KiB4611

xml_l.hH A D15-Feb-20212.8 KiB6221

xml_p.hH A D15-Feb-20215.7 KiB16185

xmlctx.cH A D15-Feb-202117.4 KiB756529

xmlctx.hH A D15-Feb-20214.8 KiB14976

xmlctx_l.hH A D15-Feb-20212.1 KiB4711

xmlctx_p.hH A D15-Feb-20212.7 KiB7329

xmlglobalize.cH A D15-Feb-20216.8 KiB273181

xmlrw.cH A D15-Feb-202132.5 KiB1,3961,136

xsdnode.cH A D15-Feb-20214.8 KiB214127

xsdnode.hH A D15-Feb-20213.3 KiB8941

xsdnode_l.hH A D15-Feb-20212.3 KiB4514

xsdnode_p.hH A D15-Feb-20212 KiB5619

README.xml2db

1
2This is a very simple parser for XML files.
3
4The following XML elements can be used inside a Schema file.
5
61. <IfPathExists path="path">
7-----------------------------
8Iterate through all children of the schema node only when "path" exists.
9
10
112. <Enter path="path">
12----------------------
13
14Enter the given path inside the source document. Iterate through all children of the schema node.
15
16
173. <ForEvery name="path">
18--------------------------
19
20Enter the given path inside the source document and iterate through all children of the schema node
21with every matching source document node.
22
23
244. <CreateAndEnterDbGroup name="group">
25---------------------------------------
26
27Create a GWEN_DB node and make it the current node for iteration through all children of the schema node.
28
29
305. <CreateAndEnterTempDbGroup name="group">
31-------------------------------------------
32
33Create a GWEN_DB group in the temporary DB and make it the current node for iteration through all children of the schema node.
34After all chidren have been handled the temporary group is deleted.
35
36
376. <SetCharValue name="varname" path="path" >
38---------------------------------------------
39
40Set a variable in the current GWEN_DB_NODE using the text inside the given source document XML node.
41
42
437. <SetCharValue name="varname" value="$(tempVariable1) - $(tempVariable2)" >
44-----------------------------------------------------------------------------
45
46Set a variable in the current GWEN_DB_NODE the given "value" specification. This specification may contain references
47to variables in the current temporary GWEN_DB group. This can be used to compose a value from multiple XML nodes
48(see camt_052_001_02.xml)
49
50attributes:
51- name         :  name of the variable to set
52- path         :  XML path in source document whose data is to be used as input value
53- value        : direct specification of value to set. Use either "value" or "path" attribute, not bot!
54- mode:
55    - "append" : append value to the already set value (if any)
56    - "add"    : add as a new value to the given variable (default)
57    - "replace": replace the currently set value
58- delimiter    : only used when "mode" is "append". "\n" and "\t" are special values.
59- type         : type of the value
60    - "string" : normal text, no special handling
61    - "date"   : GWEN_DATE value
62- template     : only used if "type" is "date", contains the template for reading a date and use that as value
63                 (e.g. "YYYY-MM-DD")
64
65
668. <SetTempCharValue name="varname" path="path" >
67-------------------------------------------------
68
69Set a variable in the current temporary GWEN_DB_NODE using the text inside the given source document XML node.
70
71
729. <IfCharDataMatches path="path" pattern="pattern">
73----------------------------------------------------
74
75Iterate through all children of the schema node if the data from the given path matches the given pattern. Jokers and
76wildcards are allowed in pattern.
77
78
7910. <IfNotCharDataMatches path="path" pattern="pattern">
80--------------------------------------------------------
81
82Same as <IfCharDataMatches> but reversed.
83
84
8511. <IfHasCharData path="path">
86-------------------------------
87
88Iterate through all children of the schema node if the path contains data.
89
90
9112. <IfNotHasCharData path="path">
92----------------------------------
93
94Same as <IfHasCharData> but reversed.
95
96
9713. <IfPathExists path="path">
98------------------------------
99
100Iterate through all children of the schema node if the given path exists in the source document.
101
102
103
104