Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 XML 格式
<root> <image> C:/images/image1.jpg </image> </root>
现在我需要在我的 XSL-FO 中使用这个路径(C:/images/image1.jpg),看起来像这样,
<fo:external-graphic src="C:/images/image1.jpg" />
我如何使用 XML 的路径在我的 XSL-FO 中实现这一点?
<xsl:template match="image"> <fo:external-graphic src="{normalize-space()}" /> </xsl:template>