要點
• 使用「替換碼」來定義要建立/版序化的 WTDocument 的「名稱」。
• 數個 <publish> 元素會使用同一個 <param-set>。
<rules xmlns="http://www.ptc.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ptc.com PublishRulesSchema.xsd">
<authoring-application name="ARBORTEXT">
<param-set name="Share with WTDocument">
<post-publish name="delegate">com.ptc.wvs.server.publish.
DefaultPostPublishDelegate</post-publish>
<post-publish name="name">{OUTPUT_TYPE} {AUTHORING_APP}
{EPM_NUMBER}</post-publish>
<post-publish name="published-content-link">create</
post-publish>
</param-set>
<publish on="checkin" output="PDF" param-set="Share with
WTDocument"/>
<publish on="create-representation" output="PDF" param-set=
"Share with WTDocument"/>
<publish on="schedule" output="PDF" param-set="Share with
WTDocument"/>
</authoring-application>
</rules>