Running SAS 9.2, Phase 2 (TS2M0)
Can XMLMap assist with creating a SAS dataset such as the following XML describes:
Value
etc...
Value
etc
Value
etc
I don't have a schema file (XSD) yet.
- There can be 1 to many Reports in the file
- The subrecord section can occur 0 to unbounded
When we tried to read a file with one record, we ended up with Header, Info and Subrecord datasets, and many of the fields were set to missing. XML engine, tried several XMLTYPES (did not use XMLMAP).
I need the following from the 1 report record:
Header, Info and unique subrecord(s), 1 obs. per subrecord, header and info repeating. So if there were 3 subrecords within the one record, I'd have 3 records with the other fields carrying thru.
Can this be done within SAS using the mapper, XML or XML92 engines? We are under a tight deadline. Any ideas appreciated.
... View more