Petr Holub wrote:
> 
> I've created a larger document in XXE and after I got some
> experiences with it I've some suggestions for future version
> of XXE. It would be really nice if it can show "split-view"
> where one half is XML formated according to CSS or no CSS in
> tree view and the other half contains XML as text with all
> the modifications and movements around synchronized in the
> two windows. This is because you always have some modifications
> that are done easier in the source XML and it would be very
> nice if you don't have to switch between two editors.
> Furthermore you have advantage of better navigation through
> the source and easier marking of block as you can mark it
> in CSS view and it remains marked when you change focus into
> the other window.

This will be available in the product (in fact, much more).

> Second suggestion is because of the following situation:
> you have some text inside - say - <p> element.
> <p>this is the <a>link</a> text.</p>
> When you copy "this is the <a>link</a> text." in XXE
> and paste it somewhere inside other <p> element, you
> loose <a> element.

XXE generic commands cannot be fully satisfactory. We, the authors of
XXE, must find a compromise between the overall number of generic
commands, their simplicity and their power.

In the product, you can somehow achieve what you want by using the node
selection rather than the text selection. (In the product you can select
several sibling nodes in just 2 clicks.)

> Third suggestion follows from this situation (it might
> be just due to my ignorance):
> <p>
> <ul>
> <li>text1</li>
> <li>text2</li>
> </ul>
> </p>
> I'm having my cursor positioned at the end of the "text2"
> word and I would really like to get out of <ul> environment
> and continue in <p> environment. There are two ways how
> to accomplish it:
> 1) when created such a <p> element with <ul> element inside
>    you have greyed out box where you can contiunue with <p>.
>    When reloading the same document into XXE the greyed box
>    is not there any more
> 2) create other <p> element after current element and then
>    merge the two together
> I think it would be nice to have some command like "step out
> of current element and continue with writing in element one
> level above".

I don't understand: a <p> cannot contain a <ul>. It is not possible to
create this hierarchy of elements using XXE when a DTD is attached to
the document. In such case, an error is reported at the loading of a
document and a red icon is displayed at the bottom/left of your Window
until you fix the structure of your document. (This is called the
``repair mode''.)

Using XXE with an invalid document or a document without a DTD is
certainly possible but in such case, you cannot expect XXE to make you
really productive at editing such a document.

Using XXE M1, in a valid document, hitting the key <Enter> at the end of
the text contained in a <p> or a <li> (or any other element where this
leads to a legal structure), creates an empty <p> or <li>. (This is the
Split command which is fully described in the tutorial.)

In the future product, you'll be able to create your own XML-application
specific commands and bind them to mouse events, keyboard events, popup
menus, top-level menus or toolbars.

A number of XHTML and DocBook specific commands will be written by us.

Reply via email to