This command allows to include elements in the document being edited. The included elements are managed by the "GenericInclusion
" inclusion processor[6] . See Section 13.1, “The "GenericInclusion" inclusion processor” in XMLmind XML Editor - Configuration and Deployment. Therefore, for this command to work, you need not only to declare it and give it a name in an XXE configuration file, but you also need to declare the "GenericInclusion
" inclusion processor. The easiest way to do so is to include genericincl.incl in an XXE configuration file (e.g. docbook.xxe
):
<inclusionProcessor name="GenericInclusion"> <class>com.xmlmind.xmleditapp.genericincl.GenericInclusionProcessor</class> </inclusionProcessor> <command name="genericInclude"> <class>com.xmlmind.xmleditapp.genericincl.GenericInclude</class> </command> <binding> <keyPressed code="F3" /> <charTyped char="b" /> <command name="genericInclude" parameter="before[implicitElement]" /> </binding> ... <binding> <keyPressed code="F3" /> <charTyped char="i" /> <command name="genericInclude" parameter="into" /> </binding>
[6] This is similar to commands copyAsInclusion and include which create included elements managed by the "XInclude
" inclusion processor.