If you can use IE5.5+ (mswin) you can add an attribute called
contentEditable.

If you set this to yes on a tag you can edit right inline.  Example:

<p id="para01" contentEditable="yes">Placeholder paragraph text</p>

If you are the one who creates the html, you can do it in a way that you can
roundtrip the html back to xml (client-side or server-side). Just get the
new content and stick it in a hidden field to submit to the server.

there are some other features you could take advantage of if you use ie:
- context sensitive menus
- real modal/less dialogs
- built in editing commands

----- Original Message -----
From: "Mauricio Souza Lima" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 20, 2001 10:11 AM
Subject: Re: Dummy proof XML on-line editing


> That's very interesting, and unit forces to do it is very nice too. but,
> some things i dont know:
>
> How to create a "textarea" that has bold, italic and all the formating
> stuff?
>
> That (web)application is a Java application or a form web?
>
>
> --
> Mauricio Souza Lima
> Rational Consulting
> [EMAIL PROTECTED]
> Rua Helena, 140 / cj. 82
> São Paulo - SP - Brazil
> Fone / Direct: +55 11 3842-7138
>
> Giuseppe Di Pierri wrote:
> >
> > Hi Mauricio,
> >
> > May it is exactly what I mean.
> >
> > Let's make an example of use of the this hypothetical user friendly xml
> > editor (web)application:
> >
> > We have to create a new document, which structure is defined in a XML
Schema
> > file (better than DTD because XML is easier to treat). The application
> > presents us all possible information types (by means of input checkbox,
or
> > text or combobox etc) that, for a specific point of the document, I can
or
> > have to insert. If a new inserted element has required/optional
subelements,
> > then the application automatically generates a form containing those
> > subelement input items. Of course, all optional subelements can be left
> > empty.
> >
> > I don't mean that the user have to insert tags directly, he just fills
the
> > its values, by means of input items.
> >
> > If you know XML Spy 4.0.1, well, it makes something like this, but it is
> > also not 'cheap'.
> >
> > If I could use an application like this, well I would spare lot's
working
> > time for creating always custom applications.
> >
> > If you or everyone else intends to develop it together, well I'm ready
to
> > start.
> >
> > Thank you and wish you a nice day.
> >
> > pino
> >
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to