i needed the ability to transform to PDF a docx package using the customXml tag like this ;
- Code: Select all
<w:customXml w:uri="http://xxx"
w:element="Test">
<w:customXmlPr>
<w:attr w:uri="http://xxx" w:name="remove" w:val="false" />
<w:placeholder w:val="[xxx]" />
</w:customXmlPr>
<w:r>
<w:t xml:space="preserve">Info text : </w:t>
</w:r>
</w:customXml>
The xlst does not support this currently. To get the feature, you just need to add the following templates in it ;
- Code: Select all
<xsl:template match="w:customXml">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="w:customXmlPr" />
which will allow the translation of embedded runs inside the customXml.
Regards and many thanks for this great library,
Vincent