Like now in the wired Internet, in the future consumers will produce content in mobile devices. We suppose that the content will be produced in browser like applications. Mobile browsers present and contained editor components enable users to edit contents. Editor components could be adapted for various kinds of devices and contexts of use and be installed in runtime. This paper introduces a new generic framework for component-based XML editors (called FEdXML) to be integrated into mobile browsers. FEdXML is a lightweight, scalable and transferable framework offering interfaces for the core parts of XML editor to be used in the various kinds of (e.g., mobile) environments and with various kinds of object-oriented languages (e.g., with Java and C++). Thus, instead of designing the whole editor for the target language the efforts can be targeted on designing language specific (e.g., XML model, view, and controller) components. In addition, the strong reuse of the existing well-tested components will improve the quality of editors. The reference Java implementations for the core parts of FEdXML form a base for new XML editors. We have used FEdXML in J2SE and Java MIDP environments.