Abstract
This paper explores the use of XProc 3.0 in developing a set of command-line applications for converting XML documents into various derivatives. XProc is used as the core of the application and it experiments with building the application logic in XProc, including command-line handling and file/directory management. The paper proposes two design patterns that can be widely applied to use XProc effectively in developing command-line applications.