Renaming elements in XML output
Author: firstname.lastname@example.org (Theo Neeskens)
Hi, I have a situation where I need to: – retrieve lots of related data in a Uniface service – create a struct using componenttostruct – create XML using structtoxml – dump the XML as a file on disk It works fine so far, but I need to rename some of the XML tags. Lets say that in Uniface I have a field CUSTNR and my XML tag should be CUSTOMERNUMBER. I have read the documentation a couple of times and I now think it is possible with structtoxml/schema. But since I havent used XSD for output before, I am unsure. Am I on the right track? Can somebody explain in plain English what I need to do?