Hi there,

All the examples I find show how to use pluggable brains IF you already know the field names you are going to use - I don't and want to discover them in run-time.

I know the records object has a names() method, but that doesn't help, because the single record object doesn't know about the records object.  I want to write a pluggable brains class that takes all the fields and values and wraps them in an XML string, now I know that I can write a method that operates on the records object, but hoped I could use pluggable brains for this.

It seems as if the record object is a list/dict like object (I can both use self[0] or self.fieldName - but there is no keys() equivalent and I have also tried dir, __dict__ on all the base classes, but to no avail).

Thanks
Etienne.