xslt - Accessing Properties of an xml file in Word 2007 -
i writing style sheet ms word 2007 , want add template using < xsl : template > element accesses properties of word 2007 document. (template, totaltime, etc.) can provide me code start this?
at stylesheet level, declare namespaces prefixes wish use namespaces in word 2007 flat opc xml:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/xsl/transform" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:ep="http://schemas.openxmlformats.org/officedocument/2006/extended-properties" xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlpackage" xmlns:vt="http://schemas.openxmlformats.org/officedocument/2006/docpropsvtypes">
to remove <template> extended property (from app.xml in zipped docx):
<xsl:template match="ep:template" />
Comments
Post a Comment