I have found that I am getting an incorrect namespace being output when I have used the changeType method.
My code does the following Field field = fl.addNewField(); XTabField xtab = (XTabField) field.changeType(XTabField.type); . . when I output this it creates the following <db:field id="SXV4_FLD" xsi:type="sch:XTabField"> <db:displayName>Cust Last maintenance (mth)</db:displayName> </db:field> note the namespace on xsi:type. what I want is <db:field id="SXV4_FLD" xsi:type="db:XTabField"> <db:displayName>Cust Last maintenance (mth)</db:displayName> </db:field> The problem i get because of this is the next time i load the document, a Field class is returned instead of an XTabField class any ideas Thanks Marius Gleeson. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]