File: sample_xhtml.xml

package info (click to toggle)
dita-ot 1.5.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,296 kB
  • sloc: xml: 29,334; java: 24,201; javascript: 1,299; makefile: 45
file content (26 lines) | stat: -rw-r--r-- 1,129 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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. 2004, 2006 All Rights Reserved. -->
<project name="sample_xhtml" default="samples.web" basedir=".">
  
  <property name="dita.dir" location="${basedir}/../.."/>
  
  <target name="samples.web" description="build the samples for the web" depends="clean.samples.web">
    <ant antfile="${dita.dir}/build.xml">
      <property name="args.input" location="${dita.dir}/samples/hierarchy.ditamap"/>
      <property name="output.dir" location="${dita.dir}/out/samples/web"/>
      <property name="args.xhtml.toc" value="toc"/>
      <property name="transtype" value="xhtml"/>
    </ant>
    <copy todir="${dita.dir}/out/samples/web">
      <fileset dir="${dita.dir}/resource" includes="index.html"/>
    </copy>
  </target>
  
  <target name="clean.samples.web" description="remove the sample web output">
    <delete dir="${dita.dir}/out/samples/web"/>
  </target>
  
</project>