How to display xml file in browser?

I want to use a web browser to display XML files, how do I do that?

Hello @viettonich ,

You can use the codeEditor component to display XML. You need to load the contents of the XML file and display it in the codeEditor.

For example:
image

UI Sample:
https://demo.jmix.io/ui-samples/sample/code-editor-mode-theme

Regards,
Nikita

thank you