Frank Bower wrote: > I have a document that is several files and the top file uses xi:ncludes > to pull in the files at the proper place. In xmlmind is there a way to > insert the following statement when I create a new file that needs to be > included? > > <xi:include href="filename.xml" > xmlns:xi="http://www.w3.org/2003/XInclude" />
Yes, but XXE does not work like a text editor or like low-level -- programmers -- XML editors: you cannot insert physical objects such as '&foo;' or '<xi:include href="bar"/>' in your XML document. * If you want to do that interactively: [1] Read this section of the tutorial: http://www.xmlmind.com/xmleditor/_distrib/docs/user/userguide3.html#id.s3 which explains "Edit|Document Reference|Copy as Reference" followed by Paste. [2] Use Options|Options, Edit Tab and turn on "Type of dorument reference: Xinclude" to force the use of XIncludes in all cases. * If you want to automate the composition of modular documents by writing macro-commands, use the "include" command. See http://www.xmlmind.com/xmleditor/_distrib/docs/commands/ch06s20.html * The "include" command can also be used interactively but you need to bind it to a keystroke, menu entry or tool bar button.

