Commit fb21fb0e authored by Baptiste Montange's avatar Baptiste Montange
Browse files

Merge branch 'master' of ssh://

parents 583e873c c34d9528
<project name="hdoc_to_optim" default="unzipSource"> <project name="hdoc_to_optim" default="main">
<property file=""/> <property file=""/>
...@@ -22,9 +22,11 @@ ...@@ -22,9 +22,11 @@
<unzip dest="${hdocdir}" src ="${hdocFilePath}"/> <unzip dest="${hdocdir}" src ="${hdocFilePath}"/>
</target> </target>
<target name="main" depends="unzipSource">
<xslt in="${hdocdir}/content.xml" out="${outputPath}/result.json" style="xsl/main.xsl"/>
<target name="clean" depends="unzipSource"> <target name="clean" depends="unzipSource">
<delete file="get_content.ant"/>
<delete file="get_ressources.ant"/>
<delete dir="${hdocdir}" /> <delete dir="${hdocdir}" />
</target> </target>
</project> </project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl=""
<xsl:import href="subroutines/title.xsl"/>
<xsl:import href="subroutines/author.xsl"/>
<xsl:import href="subroutines/keyword.xsl"/>
<xsl:import href="subroutines/right.xsl"/>
<xsl:output method="text" encoding="UTF-8" omit-xml-declaration="yes"/>
<xsl:template match="/">
title : <xsl:call-template name="title-main"/>,
authors : <xsl:call-template name="author-main"/>,
keywords : <xsl:call-template name="keyword-main"/>,
rights : <xsl:call-template name="right-main"/>,
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment