XML/XSL question - about creating a field/formula

Can one of the experts point me to a sample or example how I might create a field and load a formula using XML/XSL via Lotus Script