If you are developing web-tier applications, you can save most Infrastructure Studio resources as XML. Use the XML versions as templates or use portions of the XML code as needed. The following resource types can be saved as XML: maps, layers, load procedures, feature source, drawing source, web layouts, and print layouts.
For more information about developing web-tier applications, see See the Web Tier API Reference.
To save a resource as XML