XML2STRUCT - An incomplete xml string to struct conversion program
STC = XML2STRUCT(XMLSTR)
Converst some XML strings into Matlab structures.
Accepts items in the format:
<word><CONTENTS</word>
or <wordparam1="value 1"param2="value 2"WSparam3="value 3"/>
or <WSwordWSparam1="value1"WSparam2="value2"WSparam3="value3"WS></word>
STC is a struct with entries corresponding to the headings and parameters/values in the XML string.
Note that this function will not process an arbitrary xml string but only files that use the three
conventions described above.