By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,187 Members | 1,629 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,187 IT Pros & Developers. It's quick & easy.

XML Editor

P: n/a
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
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.

"Sumit" <su*****@hotmail.com> wrote in message
news:fc**************************@posting.google.c om...
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

Jul 20 '05 #2

P: n/a

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.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.