X-Git-Url: https://git.phdru.name/?p=extfs.d.git;a=blobdiff_plain;f=xml-INSTALL.txt;fp=xml-INSTALL.txt;h=3a3439afb02672b067fc33d509dc8ddb3ffa77d8;hp=0000000000000000000000000000000000000000;hb=b25e47028fb040848df6a8d2d63c14ad442b8384;hpb=cb15daa9241c014422d902acae196c3f311e3d8a diff --git a/xml-INSTALL.txt b/xml-INSTALL.txt new file mode 100644 index 0000000..3a3439a --- /dev/null +++ b/xml-INSTALL.txt @@ -0,0 +1,34 @@ +How to install XML VFS script +============================= + +First, see the general instruction at ``_. + +Older versions of mc +-------------------- + +To assign xml VFS to ``*.xml`` files (ignore case) and to XML file type add +the following to ``mc.ext``:: + + regex/\.([xX][mM][lL])$ + Open=%cd %p#xml + + type/^XML *(1\.0 *)?document text + Open=%cd %p#xml + +Enable file types guessing. + +Newer versions +-------------- + +Edit ``mc.ext``; the syntax is slightly different:: + + regex/\.([xX][mM][lL])$ + Include=xml + + type/^XML *(1\.0 *)?document text + Include=xml + + include/xml + Open=%cd %p/xml:// + +Enable file types guessing.