.NET for editing XML / XSL?

Sorry if this was asked before. There was a quick search and nothing answered my question 100%.

I have XSL stored in a database that I want the user to be able to edit in my .NET Windows application. I could just paste it into a multi-line text box, but then I don't get anything like auto-indent, color coding, etc. Does anyone know of a .NET control that I can use to achieve this? Ideally, I would like to emulate the experience that you get when editing an XML file in Visual Studio, but I understand that this is probably unrealistic. At least I would like the text to be indented. I'm not too worried about validating XSL / XML itself - I can sort it myself. Any ideas?

+3
source share
2 answers

This does not answer your question directly, but there is code available to CodePlex for an XML editor called Greg XML Editor. This is not a control, but you can probably look at the code and see if that helps.

0
source

It's a bit older, but I just worked on the XSL editor. http://www.codeproject.com/KB/edit/XSLEditor.aspx

0
source

Source: https://habr.com/ru/post/1707952/


All Articles