Hi Hussein, Great! Thanks very much. At the moment, I am using Task Modeler to generate stub files, but it is kind of clunky and puts all kinds of stuff I don't want in my ditamap files...
By the way, I decided to use XXE instead of asking my boss to buy me XMetal Author DITA Edition. I find it easier to use. And the conref transclusion feature is excellent! Thanks for a fine product, -- Martin Polley Technical Communicator +972 52 3864280 <http://capcloud.com/> On 9/11/06, Hussein Shafie <hussein at xmlmind.com> wrote: > > Martin Polley wrote: > > > > Here's another item for the user wish list > > <http://www.xmlmind.com/xmleditor/wish_list.html>: > > > > Currently, if you have a topicref in a ditamap with an href to a topic > > file that does not exist, if you try to edit the reference topic from > > the map (F2 e), you get an error. > > > > It would be much more useful if XXE gave you the option to create a stub > > topic file in this situation, instead of just an error. Even better > > would be an option to create stub files for ALL the topicrefs in the map > > that do not point to actual files (like IBM's Task Modeler does). > > > > There are lots of people who create their maps first and then create the > > topics afterwards... > > Normally the answer to this kind of request (adapting XXE to the way > some users prefer to work) is: you can do that yourself if you really > want to. > > This could be done by modifying the following macro (excerpts of > dita_map_common.incl): > --- > <binding> > <keyPressed code="F2" /> > <charTyped char="e" /> > <command name="ditamap.editTopic" /> > </binding> > > <command name="ditamap.editTopic"> > <macro> > <sequence> > <choice> > <get context="$selectedElement/@conref" > expression="resolve-uri(.)"/> > <get context="$selectedElement/@href" > expression="resolve-uri(.)" /> > <get context="$selectedElement/@mapref" > expression="resolve-uri(.)"/> > </choice> > <command name="XXE.edit" parameter="%_" /> > </sequence> > </macro> > </command> > --- > > However, in your case, you *cannot* easily implement this feature > yourself because XXE lacks the facilities to do it. Therefore, I've > added your RFE to the wish list. > > Thank you for this feedback. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060911/5c368634/attachment.htm

