This will create a public object called xmlParser. If you prefer to create local instances instead, you can do it by using the xmlParser class: SET PROCEDURE TO xmlParser ADDITIVE .. LOCAL oParser ...