Add the <value></value> to regular getgumtreexml
This commit is contained in:
@ -61,6 +61,10 @@ proc make_nodes {path result indent} {
|
|||||||
}
|
}
|
||||||
if {"$control" == "true"} {
|
if {"$control" == "true"} {
|
||||||
append result "$prefix<component id=\"$nodename\" dataType=\"$type\">\n"
|
append result "$prefix<component id=\"$nodename\" dataType=\"$type\">\n"
|
||||||
|
if {[string compare -nocase $type "none"] != 0} {
|
||||||
|
set value [encode [hval $path]]
|
||||||
|
append result "$prefix <value>$value</value>\n"
|
||||||
|
}
|
||||||
foreach p [property_elements $path $newIndent] {
|
foreach p [property_elements $path $newIndent] {
|
||||||
append result $p
|
append result $p
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user