phdru.name / Software / mc

How to install XML VFS script

First, see the general instructions 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.


This is the page https://phdru.name/Software/mc/xml_INSTALL.html. It was generated on Sun, 16 Jun 2024 10:04:45 GMT from CheetahTemplate xml_INSTALL.tmpl. Some rights are reserved. Read more about technical aspects of the site.