Subversion Repositories XServices

Rev

Rev 62 | Rev 137 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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