Strange Problem,
I am using the XMLBuilder library and was able to get the EditText1.text to write into an .xml file. It stopped working and is showing "" in the xml for the profile="" and not the user input.
Thanks for the help
I am using the XMLBuilder library and was able to get the EditText1.text to write into an .xml file. It stopped working and is showing "" in the xml for the profile="" and not the user input.
B4X:
Dim x As XMLBuilder
x = x.create("maps")
x = x.element("string_name") _
.attribute("profile",EditText1.text) _
.element("timestamp") _
.attribute("time", "date") _
.up() _
.element("maps") _
Dim props As Map
props.Initialize
props.Put("indent", "yes")
File.WriteString(File.DirRootExternal, "sync.xml", x.asString2(props))
Thanks for the help