This sample shows how to use the XmlParser library in C# to parse XML and map between the model and text (and back) within the Monaco code editor within an UWP app.
It is based off of the suggested web-based sample found here.
- Open the solution in Visual Studio 2019
- Set the build architecture to x64
- F5 to deploy
Once the sample is running, click on the tree on the right to highlight text on the left. You can also hover over text on the left to see information about the tree on the right.
Uses the Monaco UWP Editor Wrapper, XmlParser, and WinUI.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT license.