07-04-2018 03:20 PM
There is a lot of examples how to convert an xml file into a dataset and a dataset into an xml file.
How ever, if we are interested to )convert a dataset into an xml file using a specific xml schema definition, how can we do that using SAS?
EX: SAS Dataset .... reading the xml schema definition (xsd)....then obtaining the proper xml file
XSD (XML Schema Definition) is a World Wide Web Consortium (W3C) recommendation that specifies how to formally describe the elements in an Extensible Markup Language (XML) document. This description can be used to verify that each item of content in a document adheres to the description of the element in which the content is to be placed. XSD
Look at this simple XML document called "note.xml":