Taylor Ren wrote:
> 
> I have downloaded XML Editor and have been using it for quite some time.
> It is a nice program.
> 
>  
> 
> I am writing a book using XXE, but also publish it into my wiki. So I
> often copy from XXE and then paste into wiki editor. Problem is: the
> copied text always contains <para></para>, <emphasis></emphasis> kind of
> tags. I have to manually change them back to wiki mark-ups.
> 
>  
> 
> Suggestions:
> 
>  
> 
> 1.     Provide a copy plain text. It at least can help to reduce some
> deletions;
> 
> 2.     Better to provide ?copy as wiki format??
> 
>  
> 
> What do you think?
> 

--> XXE v3 used to support a Wiki markup, that is, transparently open,
edit and save files containing a Wiki markup. See ``APT stands for
"Almost Plain Text"'' --
http://maven.apache.org/doxia/references/apt-format.html

This was implemented by the means of what we called a ``structured
format plug-in''. Writing a structured format plug-in was
straightforward and allowed to support any non-XML, though structured,
formats.

As of XXE v4, we have given up support for structured format plug-ins:

* for the sake of simplicity;

* because there was no interest in our two existing structured format
plug-ins:
   ** APT,
   ** Javadoc comments;

* because no developers expressed an interest in developing their own
structured format plug-ins.

--> In summary,

* The cleanest, high-end, way to implement your request is to revive the
support of structured format plug-in and to write structured format
plug-ins for a number of well-known Wiki markups. However we don't see
any revenue in doing this.

* The low-end approach, ``provide a  plain text copy'' can be very
easily implemented by the means of a command written in Java (may be
even just a macro). If you are really motivated, you can do that yourself.

See:

* Command copyChars (which could be at the core of your custom command)
-- http://www.xmlmind.com/xmleditor/_distrib/doc/commands/copyChars.html

* Writing a command --
http://www.xmlmind.com/xmleditor/_distrib/doc/dev/command.html

* Writing macro-commands --
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/writing_macros.html






Reply via email to