XML is rapidly becoming the chosen method of data communication between business partners and applications. The traditional choice of writing business logic in components is dominant--but a business that has frequently changing rules requires rules to be written in script instead of binary components. The creation and validation of complex XML through script while maintaining business logic in a simple way is challenging. This article presents simplified design and implementation in the form of a VB COM component, which facilitates the creation of complicated XML and its validation against the published XML schema in a straightforward way.