]> git.phdru.name Git - extfs.d.git/blob - xml-INSTALL.txt
Move README.html to gitweb/
[extfs.d.git] / xml-INSTALL.txt
1 How to install XML VFS script
2 =============================
3
4 First, see the general instructions at `<INSTALL.html>`_.
5
6 Older versions of mc
7 --------------------
8
9 To assign xml VFS to ``*.xml`` files (ignore case) and to XML file type add
10 the following to ``mc.ext``::
11
12   regex/\.([xX][mM][lL])$
13     Open=%cd %p#xml
14
15   type/^XML *(1\.0 *)?document text
16     Open=%cd %p#xml
17
18 Enable file types guessing.
19
20 Newer versions
21 --------------
22
23 Edit ``mc.ext``; the syntax is slightly different::
24
25   regex/\.([xX][mM][lL])$
26     Include=xml
27
28   type/^XML *(1\.0 *)?document text
29     Include=xml
30
31   include/xml
32     Open=%cd %p/xml://
33
34 Enable file types guessing.