I've searched everywhere and can't find any information on how to do it other than saying you can't use IXMLSerializer on IFeatureClass because it doesn't implement ISerializable.
So ... how can I serialize an IFeatureClass object to XML?
Thanks for the link. However, this particular feature class that I'm interested in doesn't exist in a geodatabase. It was created in code and I want to save it as XML. IWorkspace is null.
Perhaps use the RecordSet class. It implements IXmlSerialize, but I've never tried it. Create a new empty recordset, then use IRecordSetInit.Insert to insert features.