This is a migrated thread and some comments may be shown as answers.

Editing an XML file

1 Answer 171 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Paul Cook
Top achievements
Rank 1
Paul Cook asked on 07 May 2008, 07:42 AM
Hi,

When I edit an XML file (in this case web.sitemap) the text appears unstructured. That is, all compressed up line after line. When I view the same file in notepad or VS it appears nicely formatted like an XML file should be.

How can I get the XML file to appear structured in the editor?

Thanks, Paul.

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 08 May 2008, 08:54 AM
Hello Paul,

RadEditor is a HTML/XHTML editor. It relies/depends on the underlying browser rich-editing engine, and it does not support editing XML. While you can use some hacks to make the content look prettier (e.g. wrap the XML in a <PRE> tag, and others), we do not recommend trying to use RadEditor as an XML editor.

Best regards,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Paul Cook
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or