April 2006
Beginner
1114 pages
98h 16m
English
xmlschema.XML
Returns the schema definition as a string. Omits whitespace characters such as tabs and line feeds. The following code displays the schema definition for an XML map in the Debug window:
Set xmap = ThisWorkbook.XmlMaps("Orders_Map")
xsd = xmap.Schemas(1).xml
Debug.Print PrettyPrint(xsd)The PrettyPrint helper function formats the XML to add tabs and line feeds. PrettyPrint is defined in Chapter 14 and is included with the sample code.
Read now
Unlock full access