X-Git-Url: https://git.phdru.name/?p=extfs.d.git;a=blobdiff_plain;f=xml-INSTALL.html;fp=xml-INSTALL.html;h=ad57a2e4c68fa993193026e94ef46eed57eb9959;hp=0000000000000000000000000000000000000000;hb=b25e47028fb040848df6a8d2d63c14ad442b8384;hpb=cb15daa9241c014422d902acae196c3f311e3d8a diff --git a/xml-INSTALL.html b/xml-INSTALL.html new file mode 100644 index 0000000..ad57a2e --- /dev/null +++ b/xml-INSTALL.html @@ -0,0 +1,48 @@ + + + + + + +How to install XML VFS script + + + +
+

How to install XML VFS script

+ +

First, see the general instruction at INSTALL.html.

+
+

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.

+
+
+ +