Prerequisites

To execute the script, you need:

The most of Linux distributions include these dependencies by default. Windows users can download the software from the following addresses:

Usage

$ inplace.py [--xml] [--dropmeta] xslt_file xhtml_file
--xml
Parse xhtml_file as XML, not as HTML.
--dropmeta
Remove the following string from the result:
xslt_file
The XSLT template
xhtml_file
The HTML file to be processed