Sample BehaviorConfig.xml file
This sample file gives an impression of the structure of the BehaviorConfig.xml file.
<?xml version="1.0" encoding="utf-8"?>
<behaviorconfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BehaviorConfig.xsd" version="1.0">
<behaviorscopegroup name="Api2ref specific configuration">
<scopetoschemas>
<schema location="dita-sdl/1.3/schema/api2ref/xsd/api2ref.xsd"/>
</scopetoschemas>
<behaviorgroup name="Api2ref">
<sheet xpath="self::api2ref">
<label>API 2 reference</label>
</sheet>
<block xpath="self::api2function" type="cannotbesplit-and-candirectlycontaintext">
<label>API 2 Function</label>
<contextualmenuitems>
<contextualmenuitem>
<label>Add Function Name</label>
<inserttemplate><functionname/></inserttemplate>
</contextualmenuitem>
</contextualmenuitems>
</block>
<block xpath="self::classname" type="cannotbesplit-and-candirectlycontaintext" clearsamexpathbehavior="yes">
<label>Class Name</label>
</block>
<block xpath="self::classversion" type="cannotbesplit-and-candirectlycontaintext" clearsamexpathbehavior="yes">
<label>Class Version</label>
</block>
<block xpath="self::functionname" type="cannotbesplit-and-candirectlycontaintext" clearsamexpathbehavior="yes">
<label>Function Name</label>
<placeholdertext>Fill in a function name here</placeholdertext>
<menuitems>
<menuitem>
<label>Add Function Name</label>
<inserttemplate><functionname/></inserttemplate>
</menuitem>
</menuitems>
</block>
<block xpath="self::purpose" type="cannotbesplit-and-candirectlycontaintext" clearsamexpathbehavior="yes">
<label>Purpose</label>
</block>
<block xpath="self::paramStringIn" type="cannotbesplit-and-cannotdirectlycontaintext" clearsamexpathbehavior="yes">
<label>Input string parameter</label>
</block>
<block xpath="self::paramStringOut" type="cannotbesplit-and-cannotdirectlycontaintext" clearsamexpathbehavior="yes">
<label>Output string parameter</label>
</block>
<block xpath="self::paramName" type="cannotbesplit-and-candirectlycontaintext" clearsamexpathbehavior="yes">
<label>Name</label>
<placeholdertext>Type the parameter name here</placeholdertext>
</block>
<block xpath="self::paramDesc" type="cannotbesplit-and-candirectlycontaintext" clearsamexpathbehavior="yes">
<label>Description</label>
<placeholdertext>Type the parameter description here</placeholdertext>
</block>
<block xpath="self::purpose" type="cannotbesplit-and-candirectlycontaintext" clearsamexpathbehavior="yes">
<label>Purpose</label>
</block>
<block xpath="self::paramlist" type="cannotbesplit-and-cannotdirectlycontaintext" clearsamexpathbehavior="yes">
<label>Parameter list</label>
<contextualmenuitems>
<contextualmenuitem>
<label>Add input parameter</label>
<inserttemplate><paramStringIn><paramName/><paramDesc/></paramStringIn></inserttemplate>
</contextualmenuitem>
<contextualmenuitem>
<label>Add output parameter</label>
<inserttemplate><paramStringOut><paramName/><paramDesc/></paramStringOut></inserttemplate>
</contextualmenuitem>
</contextualmenuitems>
<menuitems>
<menuitem>
<label>Add Parameter list</label>
<inserttemplate><paramlist/></inserttemplate>
</menuitem>
</menuitems>
</block>
<block xpath="self::remarks" type="cannotbesplit-and-candirectlycontaintext" clearsamexpathbehavior="yes">
<label>Remarks</label>
<menuitems>
<menuitem>
<label>Add Remarks</label>
<inserttemplate><remarks/></inserttemplate>
</menuitem>
</menuitems>
</block>
<block xpath="self::api2desc" type="cannotbesplit-and-cannotdirectlycontaintext">
<label>API 2 Description</label>
</block>
<blockgenericicon xpath="self::*" icon="sort-alpha-asc" tooltipquery="./string(node-name(.))" priority="-5">
<label>Not specifically configured element</label>
</blockgenericicon>
</behaviorgroup>
</behaviorscopegroup>
</behaviorconfig>