Writing to IBM i DB2 via ION Database Connection

Anyone writing to DB2 tables from ION?  Seems database connector allows calling stored procedure that requires xml input and xml output parm.  Anyone have any code to share for this?   Is there a way to just pass elements of the BOD to stored procedure or do always have to pass the entire BOD?