IBM has updated the Compound XML Document Toolkit, c closed source Eclipse plugin for editing XML documents that use multiple namespaces.
The Compound XML Document Toolkit uses XML schemas to define the semantics of constructing documents spanning one or more namespaces. Those semantics include the order and placement of elements, the allowable child elements, and available attributes for each element.
Sample XML schema profiles for these XML-based standards are provided with the Compound XML Document Toolkit; documents having mark-up of the following types may therefore be created and edited immediately upon installation:
- XHTML 1.1 + XForms 1.0
- XHTML 1.1 + SVG 1.1
- XHTML 1.1 + MathML 2.0
- XHTML 1.1 + XForms 1.0 + SVG 1.1
- SVG 1.1 + XHTML 1.1
- SVG 1.1 + XHTML 1.1 + XForms 1.0
- XHTML Mobile 1.1 + SVG Tiny 1.2
- SVG Tiny 1.2 + XHTML Mobile 1.1
- XHTML 1.1 + SVG 1.1 + MathML 2.0
- XHTML 1.1 + VoiceXML 2.0
- XHTML 1.1 + VoiceXML 2.0 + SVG 1.1
- XHTML 1.1 + SMIL 2.0
The Compound XML Document Toolkit also provides also provides tools for validating compound XML documents, in addition to one-step rendering of documents being edited.
CXDE is based on the rather hideous Web Tools Platform though, so it's hard to recommend as a serious editor rather than a proof of concept. Conceptually, I'm very skeptical of the schema-based, strong typing ideal that drives this project. personally I'm much more interested in products that treat schemas as suggestions rather than strait jackets. For instance, I don't mind an editor using a schema to suggest auto-complete options; but I don't want it to freak out if I add an xi:include
element that isn't accounted for by the schema or paste in some invalid (but well-formed) legacy HTML.