我正在尝试按照记录的chunk.quietly(以及here)来减少我的XSL转换的详细程度。然而,这对我来说仍然是失败的:
$ /usr/bin/xsltproc --stringparam chunk.quietly 1 man/gdcmdiff.xml
Note: Writing gdcmdiff.1
gdcmdiff.xml是一个简单的refentry手册页:
$ head -4 man/gdcmdiff.xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl" ?>
<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink">
<info>
答案 0 :(得分:2)