# DITA Best Practices : Task examples

Created by Todd Stupnik on Sep 30, 2013

Below are some examples of tasks created in Oxygen.

# Author Mode

## Filtering Update Information

1.Click the Type dropdown; the Type option allows you to select any of the following:

- First
- Closed-End Seconds
- First and Closed-End Seconds

2.Select one of the following from the Federal/State dropdown:

- Both
- Federal

NOTE: The Federal Updates option contains information dating to May 2012.

- State

3.Select a desired state from the State dropdown.

4.Select a year from the Year dropdown.

The Updates tab will populate with the state/federal legislation for the selected year.

# Text Mode

    <?xml version="1.0" encoding="UTF-8"?

    <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">

    <task id="task_idz_gfp_zk">

    	<title>Filtering Update Information</title>

    	<taskbody>

    		<steps>

    			<step>

    				<cmd>Click the <b>Type</b> dropdown; the <b>Type</b> option allows you to select any of the following:</cmd>

    				<choices id="choices_t4h_kfp_zk">

    					<choice><b>First</b></choice

    					<choice><b>Closed-End Seconds</b> </choice>

    					<choice><b>First and Closed-End Seconds</b> </choice>

    				</choices>

    			</step>

    			<step>

      <cmd>Select one of the following from the <b>Federal/State</b> dropdown:</cmd>

    				<choices id="choices_dly_lfp_zk">

    					<choice><b>Both</b> </choice>

    					<choice><b>Federal </b><p>

    					<note>The <b>Federal Updates</b> option contains information dating to May 2012.</note>

    					</p></choice>

    				<choice><b>State</b> </choice>

    				</choices>

    			</step>

    			<step>

      <cmd>Select a desired state from the <b>State</b> dropdown. </cmd> </step>

     			<step>

    				<cmd>Select a year from the <b>Year</b> dropdown. </cmd>

    				<stepresult>The <b>Updates</b> tab will populate with the state/federal legislation for the selected year.</stepresult> </step>

    		</steps>

    	</taskbody>

    </task>