Content deleted Content added
Line 1:
{{Merge|source code editor|date=February 2008}}
An '''XML editor''' is a [[markup language]] editor with added functionality to facilitate the [[editing]] of [[XML]]. This can be done using a [[plain text]] [[text editor|editor]], with all the code visible, but XML editors have added facilities like [[word completion|tag completion]] and menus and buttons for tasks that are common in XML editing, based on data supplied with [[document type definition]] (DTD) or the XML tree.
There are also [[List of XML editors|graphical XML editors]] that hide the code in the background and present the content to the user in a more user-friendly format, approximating the [[render]]ed version or editing forms. This is helpful for situations where people who are not fluent in XML code need to enter information in XML based documents such as time sheets and expenditure reports. And even if the user is familiar with XML, use of such editors, which take care of syntax details, is often faster and more convenient.
==Functionality beyond syntax highlighting==
An XML editor goes beyond the syntax highlighting offered by many plaintext editors and generic source code editors, verifying the XML source based on an [[XMLSchema]] or XML DTD, and some can do it as the document is being edited in real time.
Other features of an editor designed specifically for editing XML might include element word completion and automatic appending of a closing tag whenever an opening tag is entered.
These features can help to prevent typographically originating errors in the XML code.
|