This paper examines XML and Electronic Data Interchange (EDI) to see how XML can be used for EDI. The paper is concerned with the ability of XML to actually provides solutions to EDI's adoption barriers. An overview of XML's components and constraints is presented. Next, EDI is addressed, paying particular attention to its components and the barriers to EDI adoption. Finally, a discussion of how XML can be used for EDI occurs with focus also given to the impact of XML on EDI's adoption barriers. This paper concludes that if properly implemented, XML does offer solutions to EDI's problems. Sources include published literature, publicly accessible web pages, and standards body produced specifications