<?xml version="1.0"?>
<reviewerConfiguration version="1.0">
	<source name="Paragraph">
		<!-- Rename to p using simple rename strategy -->
		<transformation>
			<rangeFinder type="exact" />
			<type name="simple-rename">
				<param name="targetName" value="p" />
			</type>
		</transformation>

		<!-- Rename to p using simple rename strategy, try to split current element -->
		<transformation>
			<rangeFinder type="split" />
			<type name="simple-rename">
				<param name="targetName" value="p" />
				<param name="splitContainer" value="true">
					<copyAttribute name="audience" />
					<copyAttribute name="platform" />
					<copyAttribute name="product" />
					<copyAttribute name="otherprops" />
				</param>
			</type>
		</transformation>

		<!-- Rename to p using simple rename strategy, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="p" />
			</type>
		</transformation>

		<!-- Rename to p and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="p" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>
				
	<source name="Bold">
		<!-- Rename to b using simple rename strategy -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="b" />
			</type>
		</transformation>

		<!-- Rename to b and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="b" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="Italic">
		<!-- Rename to i using simple rename strategy -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="i" />
			</type>
		</transformation>

		<!-- Rename to i and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="i" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="Underline">
		<!-- Rename to u using simple rename strategy -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="u" />
			</type>
		</transformation>

		<!-- Rename to u and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="u" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="Image">
		<!-- Rename to image using image strategy; always set text wrapping to inline -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="image">
				<param name="targetName" value="image" />
				<param name="srcAttribute" value="href" />
				<param name="setAttribute">
					<setAttribute name="placement" value="inline" />
				</param>
			</type>
		</transformation>
	</source>

	<source name="OrderedList">
		<!-- Rename to ol using simple rename strategy -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="ol" />
			</type>
		</transformation>

		<!-- Rename to ol and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="ol" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="OrderedListItem">
		<!-- Rename to li using simple rename strategy -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="li" />
			</type>
		</transformation>

		<!-- Rename to li and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="li" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="UnorderedList">
		<!-- Rename to ul using simple rename strategy -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="ul" />
			</type>
		</transformation>

		<!-- Rename to ul and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="ul" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="UnorderedListItem">
		<!-- Rename to li using simple rename strategy -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="li" />
			</type>
		</transformation>

		<!-- Rename to li and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="li" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="Table">
		<!-- Insert the rows of the table as CALS table rows using built-in Table2CALSTable strategy, at the next best row -->
		<transformation>
			<context type="table-row">
				<param name="xpath" value="ancestor-or-self::*[contains(@class, ' topic/table ')]" />
				<param name="table-type" value="CALS" />
			</context>
			<rangeFinder type="table-row">
				<param name="rowName" value="row" />
				<param name="cellName" value="entry" />
			</rangeFinder>
			<type name="Table2CALSRows" />
		</transformation>

		<!-- Convert table to CALS table using built-in Table2CALSTable strategy -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="Table2CALSTable" />
		</transformation>
	</source>

	<source name="Heading1">
		<!-- Rename to title if in a section-->
		<transformation>
			<context type="xpath">
				<param name="xpath" value="ancestor-or-self::*[@class='- topic/section ']" />
			</context>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="title" />
			</type>
		</transformation>

		<!-- Rename to b, and wrap in p -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-wrap">
				<param name="targetName" value="b" />
				<param name="wrapNames" value="p" />
			</type>
		</transformation>

		<!-- Rename to title and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="title" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="Heading2">
		<!-- Rename to title if in a section-->
		<transformation>
			<context type="xpath">
				<param name="xpath" value="ancestor-or-self::*[@class='- topic/section ']" />
			</context>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="title" />
			</type>
		</transformation>

		<!-- Rename to b, and wrap in p -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-wrap">
				<param name="targetName" value="b" />
				<param name="wrapNames" value="p" />
			</type>
		</transformation>

		<!-- Rename to title and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="title" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="Heading3">
		<!-- Rename to title if in a section-->
		<transformation>
			<context type="xpath">
				<param name="xpath" value="ancestor-or-self::*[@class='- topic/section ']" />
			</context>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="title" />
			</type>
		</transformation>

		<!-- Rename to b, and wrap in p -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-wrap">
				<param name="targetName" value="b" />
				<param name="wrapNames" value="p" />
			</type>
		</transformation>

		<!-- Rename to title and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="title" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>

	<source name="Heading4">
		<!-- Rename to title if in a section-->
		<transformation>
			<context type="xpath">
				<param name="xpath" value="ancestor-or-self::*[@class='- topic/section ']" />
			</context>
			<rangeFinder type="simple" />
			<type name="simple-rename">
				<param name="targetName" value="title" />
			</type>
		</transformation>

		<!-- Rename to b, and wrap in p -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="simple-wrap">
				<param name="targetName" value="b" />
				<param name="wrapNames" value="p" />
			</type>
		</transformation>

		<!-- Rename to title and wrap in required-cleanup, looking forward to the right -->
		<transformation>
			<rangeFinder type="simple" />
			<type name="multi-wrap">
				<param name="targetName" value="title" />
				<param name="wrapTargetNames" value="required-cleanup" />
			</type>
		</transformation>
	</source>
</reviewerConfiguration>