|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| Makefile.am | H A D | 15-Feb-2021 | 1.1 KiB | 77 | 65 |
| Makefile.in | H A D | 03-May-2022 | 27.1 KiB | 881 | 790 |
| README.xml2db | H A D | 15-Feb-2021 | 3.4 KiB | 104 | 60 |
| base64.c | H A D | 15-Feb-2021 | 5.8 KiB | 222 | 161 |
| base64.h | H A D | 15-Feb-2021 | 2.8 KiB | 72 | 18 |
| configmgr.c | H A D | 15-Feb-2021 | 12.2 KiB | 532 | 348 |
| configmgr.h | H A D | 15-Feb-2021 | 5 KiB | 137 | 65 |
| configmgr_be.h | H A D | 15-Feb-2021 | 6.9 KiB | 147 | 81 |
| configmgr_l.h | H A D | 15-Feb-2021 | 1.7 KiB | 40 | 6 |
| configmgr_p.h | H A D | 15-Feb-2021 | 2.5 KiB | 69 | 25 |
| db.c | H A D | 15-Feb-2021 | 43.8 KiB | 2,026 | 1,506 |
| db.h | H A D | 15-Feb-2021 | 40.3 KiB | 1,228 | 298 |
| db_p.h | H A D | 15-Feb-2021 | 4.9 KiB | 151 | 73 |
| dbio.c | H A D | 15-Feb-2021 | 12.7 KiB | 577 | 403 |
| dbio.h | H A D | 15-Feb-2021 | 5.7 KiB | 213 | 82 |
| dbio_be.h | H A D | 15-Feb-2021 | 3.3 KiB | 96 | 30 |
| dbio_l.h | H A D | 15-Feb-2021 | 1.8 KiB | 42 | 6 |
| dbio_p.h | H A D | 15-Feb-2021 | 2.2 KiB | 65 | 20 |
| dbrw.c | H A D | 15-Feb-2021 | 29.9 KiB | 1,092 | 890 |
| msgengine.c | H A D | 15-Feb-2021 | 111.5 KiB | 4,106 | 3,286 |
| msgengine.h | H A D | 15-Feb-2021 | 18.7 KiB | 560 | 265 |
| msgengine_p.h | H A D | 15-Feb-2021 | 8.1 KiB | 206 | 137 |
| path.c | H A D | 15-Feb-2021 | 12.1 KiB | 427 | 294 |
| path.h | H A D | 15-Feb-2021 | 8 KiB | 237 | 51 |
| tag16.c | H A D | 15-Feb-2021 | 4.2 KiB | 241 | 167 |
| tag16.h | H A D | 15-Feb-2021 | 1.5 KiB | 45 | 19 |
| tag16_p.h | H A D | 15-Feb-2021 | 861 | 34 | 12 |
| text.c | H A D | 15-Feb-2021 | 48.5 KiB | 2,259 | 1,825 |
| text.h | H A D | 15-Feb-2021 | 12.7 KiB | 390 | 145 |
| tlv.c | H A D | 15-Feb-2021 | 16.7 KiB | 757 | 623 |
| tlv.h | H A D | 15-Feb-2021 | 3.8 KiB | 123 | 55 |
| tlv_p.h | H A D | 15-Feb-2021 | 817 | 35 | 13 |
| url.c | H A D | 15-Feb-2021 | 6.9 KiB | 395 | 301 |
| url.h | H A D | 15-Feb-2021 | 4.6 KiB | 203 | 48 |
| url.xml | H A D | 15-Feb-2021 | 1.1 KiB | 41 | 34 |
| url_l.h | H A D | 15-Feb-2021 | 404 | 33 | 10 |
| url_p.h | H A D | 15-Feb-2021 | 665 | 44 | 19 |
| urlfns.c | H A D | 15-Feb-2021 | 9 KiB | 425 | 335 |
| urlfns.h | H A D | 15-Feb-2021 | 1.3 KiB | 54 | 21 |
| xml.c | H A D | 15-Feb-2021 | 41.8 KiB | 2,016 | 1,476 |
| xml.h | H A D | 15-Feb-2021 | 27.2 KiB | 912 | 257 |
| xml2db.c | H A D | 15-Feb-2021 | 2.7 KiB | 89 | 40 |
| xml2db.h | H A D | 15-Feb-2021 | 2 KiB | 46 | 11 |
| xml_l.h | H A D | 15-Feb-2021 | 2.8 KiB | 62 | 21 |
| xml_p.h | H A D | 15-Feb-2021 | 5.7 KiB | 161 | 85 |
| xmlctx.c | H A D | 15-Feb-2021 | 17.4 KiB | 756 | 529 |
| xmlctx.h | H A D | 15-Feb-2021 | 4.8 KiB | 149 | 76 |
| xmlctx_l.h | H A D | 15-Feb-2021 | 2.1 KiB | 47 | 11 |
| xmlctx_p.h | H A D | 15-Feb-2021 | 2.7 KiB | 73 | 29 |
| xmlglobalize.c | H A D | 15-Feb-2021 | 6.8 KiB | 273 | 181 |
| xmlrw.c | H A D | 15-Feb-2021 | 32.5 KiB | 1,396 | 1,136 |
| xsdnode.c | H A D | 15-Feb-2021 | 4.8 KiB | 214 | 127 |
| xsdnode.h | H A D | 15-Feb-2021 | 3.3 KiB | 89 | 41 |
| xsdnode_l.h | H A D | 15-Feb-2021 | 2.3 KiB | 45 | 14 |
| xsdnode_p.h | H A D | 15-Feb-2021 | 2 KiB | 56 | 19 |
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