Sol or sol-gel processing