Print

Print


For the RAMP project that Matt mentioned, we used the Ace Editor and then I just created a basic validation service in PHP

that is pinged vis JS when the user is typing. Then it has a green/red box like in the Oxygen interface, along with the validation error message.

That shouldn't be too hard to setup in your software, and since you'll be using C# you might get a better validation error message

than PHP.


Thanks,
Jamie Little
–––––––––––––––––––––––––––––––––––––––––––––––
Digital Preservation & Application Development Librarian
University of Miami Libraries


________________________________
From: Code for Libraries <[log in to unmask]> on behalf of Lizzi, Vincent <[log in to unmask]>
Sent: Thursday, September 29, 2016 10:46:35 AM
To: [log in to unmask]
Subject: Re: [CODE4LIB] Online XML editing library (JQuery?)

CodeMirror might do what you need. BaseX uses CodeMirror in its DBA web app to allow in browser editing of XQuery.

Another option, if your budget can support it, oXygen can be enabled to run in a browser.

[1] https://urldefense.proofpoint.com/v2/url?u=https-3A__codemirror.net_&d=DQIF-g&c=y2w-uYmhgFWijp_IQN0DhA&r=IijWXWl4kfmR0qka0Qa3Hh4XchkAuAItO1qGCioFUXo&m=u5Xomwlzb2gyjqNtyXfQtNpY8YLCJna3v4Lqxi2u_dk&s=oBmYj6fTOo8f6qetElwSJ9VroR49L073yfdj_H5TQyc&e=
[2] https://urldefense.proofpoint.com/v2/url?u=http-3A__basex.org_&d=DQIF-g&c=y2w-uYmhgFWijp_IQN0DhA&r=IijWXWl4kfmR0qka0Qa3Hh4XchkAuAItO1qGCioFUXo&m=u5Xomwlzb2gyjqNtyXfQtNpY8YLCJna3v4Lqxi2u_dk&s=h_jCagrbBN5_ItnDp-vjzf2TTwVNltBUx8M8ci3IGac&e=
[3] https://urldefense.proofpoint.com/v2/url?u=http-3A__oxygenxml.com_xml-5Fweb-5Fauthor.html&d=DQIF-g&c=y2w-uYmhgFWijp_IQN0DhA&r=IijWXWl4kfmR0qka0Qa3Hh4XchkAuAItO1qGCioFUXo&m=u5Xomwlzb2gyjqNtyXfQtNpY8YLCJna3v4Lqxi2u_dk&s=5k8gRNgsZwaLODMt3lgT0P8Y1aB5fUhB_ElQazxPdfQ&e=

Cheers,
Vincent


-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Mark V. Sullivan
Sent: Thursday, September 29, 2016 9:34 AM
To: [log in to unmask]
Subject: [CODE4LIB] Online XML editing library (JQuery?)

All,


I know there are several nice HTML libraries for editing HTML online, including source views that help you close brackets and do syntax coloring on the tags.


Is there an equivalent for displaying and editing raw XML online?  I would prefer if it was something like a JQuery library, but would take anything.  So far I am coming up empty on my search.


We are adding a native TEI component to SobekCM and one option is to allow the user to edit the raw TEI directly through the web interface.  But, it is all an uncolored mass of text at the moment.


Thanks in advance!


Mark V. Sullivan
Application Architect
Sobek Digital Hosting and Consulting, LLC [log in to unmask]<mailto:[log in to unmask]>
866-981-5016 (office)