是否可以使用名为 org.dita4publishers.html2 的插件从 html2 转换输出生成的输出中删除命名空间
我已经生成了从 dita 到 html2 的输出,我得到了 fig
我正在从 html2 转换中获取输出
<div xmlns="http://www.w3.org/1999/xhtml" class="fignone" id="call1">
<div class="figbody">
<img xmlns="" src="images/imag1.png"></img>
</div>
<span class="figcap"><span class="enumeration fig-enumeration">Figure 1. </span>Nursing image</span></div>
但我想像这样排除命名空间
<div class="fignone" id="call1">
<div class="figbody">
<img xmlns="" src="images/imag1.png"></img>
</div>
<span class="figcap"><span class="enumeration fig-enumeration">Figure 1. </span>Nursing image</span></div>
我正在使用模板生成 css 链接
<xsl:template match="*" mode="chapterHead">
<head><xsl:value-of select="$newline"/>
<!-- initial meta information -->
<link rel="stylesheet" type="text/css" href="css/care.css"/><xsl:value-of select="$newline"/>
</head>
<xsl:value-of select="$newline"/>
</xsl:template>
但是像这样生成输出
<head>
<link rel="stylesheet" type="text/css" href="care.css"></link>
</head>
它忽略了/之前的文字,也忽略了/
我想要输出为
<head>
<link rel="stylesheet" type="text/css" href="css/care.css"></link>
</head>
请就这些问题向我提出建议。
注意:我也使用了 exclude-result-prefixes="#all" 。但它不起作用。
提前致谢