Subversion Repositories XServices

Rev

Rev 62 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
62 brianR 1
<?xml version="1.0"?>
2
<project default="create-doc" basedir=".">
3
 
4
	<property name="current-loc" location="." />
5
	<property name="workspace" location=".." />
6
	<property name="htmldir" value="${current-loc}/doc/html" />
7
	<property name="docbookdir" value="C:\JAVA-DEV\docbook-xsl-ns-1.76.1\html\" />
8
	<property name="docbooksource" value="${current-loc}/doc"/>
9
	<property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" />
10
 
11
 
12
	<!-- XSLT Chunking Properties -->
13
	<property name="base.dir" value="${htmldir}"/>
14
 
15
	<target name="merge">
16
		<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml"
17
		              out="${docbooksource}/BruteXServices_User_Guide.dbk"
18
		/>
19
	</target>
20
 
21
	<target name="clean-doc">
22
		<delete dir="${htmldir}" />
23
		<mkdir dir="${htmldir}"/>
24
	</target>
25
 
26
	<target name="create-doc" depends="clean-doc, merge">
27
 
28
		<xslt force="true" style="${docbookdir}/../toHTML.xsl"
29
			in="${docbooksource}/BruteXServices_User_Guide.dbk"
30
			out="${htmldir}/index.html">
31
			<factory name="${xalan}" />
32
			<param name="base.dir" expression="${htmldir}/"/>
33
			<param name="use.id.as.filename" expression="1" />
34
		</xslt>
35
	</target>
83 brianR 36
 
37
	<target name="create-webdoc" depends="clean-doc, merge">
62 brianR 38
 
83 brianR 39
		<xslt force="true" style="${docbookdir}/../fo/docbook.xsl"
40
			in="${docbooksource}/BruteXServices_User_Guide.dbk"
41
			out="${htmldir}/xservices.fo">
42
			<factory name="${xalan}" />
43
			<param name="base.dir" expression="${htmldir}/"/>
44
			<param name="use.id.as.filename" expression="1" />
45
			<param name="fop.extensions" expression="0" />
46
		</xslt>
47
	</target>
48
 
62 brianR 49
</project>