Stefan Traub wrote: > > I greatly appreciate your new support f?r structured modular documents > using XInclude. Currently i am writing a lecture script using your editor > (prof. version). > > There is one thing, which i really miss: > > I am including a lot of example programms (C, C#, PHP etc.) in my script. > I have written a short CGI-Script so that theses examples are delivered as > docbooks <programlisting> sections. > > The only problem ist, that i found no way of specifiing these includes > manually. > example: > > <xi:include > href="http://localhost/include/?name=webengineering/sprachen/java/01_Hello_World.java" > /> > > in my script this results in a docbook snippet > > <programlisting> > .. here comes my code > </programlisting> > > > To insert these XIncludes, i have to quit XML-Mind an insert there statements > using an other XML-Editor. > > Is there a way, possibly in the future, do suppoert these type of xinclude > nodes, > e.g. manually specifing the include path? >
--> As of XXE v4, you can: [1] Click anywhere inside an inclusion [2] Use Edit|Reference|Untransclude Reference to convert the inclusion to an xi:include element. [3] Edit the xi:include element normally using the Attributes tool. For example, change its href attribute. [4] Use Edit|Reference|Retransclude Reference to convert back the edited xi:include element to an inclusion. --> The above mechanism also works for DITA, except that the inclusion is untranscluded to an element having a conref attribute rather than to an xi:include. --> Note that as of XXE v4 you no longer need your CGI[*] because we support parse="text". Here's how to do it without using another XML editor. [1] Ctrl-Shift-C any element which may be inserted in a programlisting (e.g. an emphasis). This dummy inclusion will be used to ``bootstrap'' the parse="text" inclusion. [2] Click anywhere inside the newly inserted inclusion. [3] Use Edit|Reference|Untransclude Reference to convert the inclusion to an xi:include element. [4] Using the Attributes tool, change its href attribute to the URL of a text file. Also specify parse="text". [5] Use Edit|Reference|Retransclude Reference to convert back the edited xi:include element to an inclusion. --- [*] Well, may be your CGI generates a programlisting where lines are numbered and where keywords are rendered as <emphasis role=bold>. In such case, you still need your smart CGI!

