<?xml version="1.0" encoding="utf-8"?>
<!-- This file is part of the DITA Open Toolkit project hosted on 
     Sourceforge.net. See the accompanying license.txt file for 
     applicable licenses.-->
<!-- (c) Copyright IBM Corp. 2005, 2006 All Rights Reserved. -->
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
 "..\dtd\task.dtd">
<task id="ascript" xml:lang="en-us">
<title>Transforming DITA to Word with Ant script</title>
<shortdesc>Running Example</shortdesc>
<taskbody>
<steps>
<step><cmd>Specify a directory where you want to put the output files. For
example, <userinput>e:/output/dita2word</userinput>.</cmd></step>
<step><cmd>Open an ant script file from the default model template. You can
find the file "template_wordrtf.xml" under the "ant" directory.</cmd>
</step>
<step><cmd>Modify the transformation type to <userinput>Word</userinput>.</cmd>
<info>The default file name is "ant.xml". If you want to save the template
file, make sure to save it as another file name. For example, <userinput>antfile.xml</userinput>.</info>
</step>
<step><cmd>On the command line, enter <userinput>ant -f &lt;ant.xml></userinput>.</cmd>
</step>
<step><cmd>After processing and generating, a single output file in ".rft"
format occurs in the specified directory, such as in e:/output/diat2word.</cmd>
</step>
<step><cmd>You can use <tm tmclass="special" tmowner="Microsoft Corporation"
tmtype="reg" trademark="Microsoft">Microsoft</tm> Word to open the output
file.</cmd></step>
<step><cmd>You can also further edit the output file by using tools in <tm
tmclass="special" tmowner="Microsoft Corporation" tmtype="reg" trademark="Microsoft">Microsoft</tm> Word.</cmd>
</step>
</steps>
</taskbody>
</task>