Software /
code /
prosody
Comparison
util/datamapper.lua @ 11451:ee4f2296e7df
util.datamapper: Add references with notes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 10 Mar 2021 00:19:38 +0100 |
parent | 11439:9abcdfdcdb01 |
child | 11453:f0037234b2e9 |
comparison
equal
deleted
inserted
replaced
11450:25829015917c | 11451:ee4f2296e7df |
---|---|
39 prefix = propschema.xml.prefix | 39 prefix = propschema.xml.prefix |
40 end | 40 end |
41 if propschema.xml.attribute then | 41 if propschema.xml.attribute then |
42 is_attribute = true | 42 is_attribute = true |
43 elseif propschema.xml.text then | 43 elseif propschema.xml.text then |
44 | |
44 is_text = true | 45 is_text = true |
45 elseif propschema.xml.x_name_is_value then | 46 elseif propschema.xml.x_name_is_value then |
47 | |
46 name_is_value = true | 48 name_is_value = true |
47 elseif propschema.xml.x_single_attribute then | 49 elseif propschema.xml.x_single_attribute then |
50 | |
48 single_attribute = propschema.xml.x_single_attribute | 51 single_attribute = propschema.xml.x_single_attribute |
49 end | 52 end |
50 end | 53 end |
51 | 54 |
52 if name_is_value then | 55 if name_is_value then |