XML Editor

S

Sumit

Hi,

I am trying to find if there are XML editors that allow me to edit
only parts of the XML document. Basically I want to lock some parts of
the XML document and now allow the user to edit that part, but he can
edit the rest.

Help will highly be appreciated.

Thanks
Sumit
 
A

Altova Announcements

You can do this with Altova's AUTHENTIC and STYLEVISION products:

AUTHENTIC: http://www.altova.com/products_doc.html
STYLEVISION: http://www.altova.com/products_xsl.html

STYLEVISION allows you to create an editing template for use with AUTHENTIC
in which you can choose to only make parts of your XML document editable by
the user. The user would then use AUTHENTIC to edit your XML document and
would only be able to edit the part that you designated as editable.
 
F

Florian von Savigny

No idea if this is feasible in your case (particularly no idea what
level of security you need), but as Emacs allows you to assign a vast
choice of properties to any text in a buffer, you could use psgml
mode.

You'd only need to assign the read-only property to the parts that
must not be changed, and optionally some invisible property to hide
them completely from the user. Should not be too difficult, and
endlessly customisable (i.e. if you want to create an easy-to-use user
interface, you can go on by re-mapping keys to move about the text to
be edited).

I doubt, however, that it is possible to prevent an experienced Emacs
user from removing the text properties. Hence, this is not the same as
authentification and stuff, but it is nice if you merely want to
prevent users from messing things up.

If the text to be edited is one continuous region, buffer narrowing
might be another option.

--


Florian v. Savigny

If you are going to reply in private, please be patient, as I only
check for mail something like once a week. - Si vous allez répondre
personellement, patientez s.v.p., car je ne lis les courriels
qu'environ une fois par semaine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top