XML custom views

Post here questions and problems related to oXygen frameworks/document types.
bwbohl
Posts: 28
Joined: Mon Jan 23, 2017 11:20 am

XML custom views

Post by bwbohl » Wed May 16, 2018 1:46 pm

Hi,

I quite new to all the Add-On, framework and plugin option oxygen offers, and already now I can tell, it's great!

Now I'm wondering how I could implement a custom view for a specific XML namespace, that is comparable to how Markdown files are presented in oXygen, i.e. with the code on the left side and different "transformed" results on the right hand side?

Any help considering first steps would be appreciated!

Thanks,
Benjamin
=====
oXygen XML Editor v18.1
macOS Sierra 10.12.6

Radu
Posts: 7099
Joined: Fri Jul 09, 2004 5:18 pm

Re: XML custom views

Post by Radu » Wed May 16, 2018 2:17 pm

Hi Benjamin,

We do not have API to allow you to add a custom view in the editor area.
You do have API to add a custom side view (east, west, south or north):

https://www.oxygenxml.com/doc/versions/ ... -view.html

and based on the current selected XML file tab you could disable or enable the view or populate the view's contents to reflect the XML content, so you can implement something similar to our "Outline" view but not something similar to our Markdown Preview which is placed directly in the edited content area.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply