body的openxml版本
我在openxml文档中有以下片段:body的openxml版本,xml,xslt,openxml,Xml,Xslt,Openxml,我在openxml文档中有以下片段: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <!-- ... --> <a:extLst> <a:ext uri
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<!-- ... -->
<a:extLst>
<a:ext uri="{28A0092B-C50C-407E-A947-70E740481C1C}">
<a14:useLocalDpi xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" val="0" />
</a:ext>
</a:extLst>
<!-- ... -->
</xsl:template>
</xsl:stylesheet>
但是有更轻松的吗?使用以下命令,因为当您使用“{--something--}”时,它会尝试将其内容作为xpath进行计算:
<a:ext uri="{{28A0092B-C50C-407E-A947-70E740481C1C}}">
使用以下命令,因为当您使用“{--something--}”时,它会尝试将其内容作为xpath进行计算:
<a:ext uri="{{28A0092B-C50C-407E-A947-70E740481C1C}}">
在XSL中,表达式中的花括号表示“评估此”,因此您的解决方案可能是最好的解决方案。在XSL中,表达式中的花括号表示“评估此”,因此您的解决方案可能是最好的解决方案。。您可以添加{{
和}
是XSLT中花括号的转义序列。您可以添加{{
和}
是XSLT中花括号的转义序列。