# xml(9)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## SYNOPSIS

xml - Extensible Markup Language File.

## FILES

hkxml.emf - Extensible Markup Language file hook definition

## EXTENSIONS

.xml - Extensible Markup Language File.
.xsl - Extensible Stylesheet Language file.
.xul - XML User Interface Language file.

## MAGIC STRINGS

<?xml>

MicroEmacs 2009 recognizes the magic string on any of the first line of the file. The XML files may be extension-less and are still recognized.

## DESCRIPTION

The xml file type template provides simple hilighting of XML files.

General Editing

On creating a new file, a new header is automatically included into the file. time(2m) is by default enabled, allowing the modification time-stamp to be maintained in the header.

Hilighting

The hilighting features allow commands, variables, logical, preprocessor definitions, comments, strings and characters of the language to be differentiated and rendered in different colors.

Embedded Languages

Support is provided for embedded code fragments in Java and Visual Basic.

Folding and Information Hiding

Generic folding is enabled, the folds occur about bracketed constructs <...>...</...> located on the left-hand margin. collapse-all(3) (un)folds all regions in the file, collapse-current(3) (un)folds the current region.

Buffer Commands

xml-forward-tag and xml-backward-tag are provided to advance to the next `<..>` tag in the buffer.

xml-goto-matching-tag finds the tag that matches the current tag.

xml-verify verifies the syntax of the XML reporting tags that are not matched in addition to syntax errors in the tag attributes.

Spelling

Buffer spell checking is XML aware.

Completion

Completion is enabled, `</`esc esc will expand to the closing tag for the last tag that remains open.

Short Cuts

The short cut keys used within the buffer are:-

esc h - Key binding help information.
C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c C-e - Comment to the end of the line with hash (#).
C-c C-o - Format a comment

## BUGS

None reported.

## SEE ALSO

Supported File Types

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>