Commit c34d9528 authored by Kapilraj Thangeswaran's avatar Kapilraj Thangeswaran
Browse files

Ajout du main.xml et mise à jour du ant

parent c901e8df
<project name="hdoc_to_optim" default="unzipSource">
<project name="hdoc_to_optim" default="main">
<property file=""/>
......@@ -22,9 +22,11 @@
<unzip dest="${hdocdir}" src ="${hdocFilePath}"/>
<target name="main" depends="unzipSource">
<xslt in="${hdocdir}/content.xml" out="${outputPath}/result.json" style="xsl/main.xsl"/>
<target name="clean" depends="unzipSource">
<delete file="get_content.ant"/>
<delete file="get_ressources.ant"/>
<delete dir="${hdocdir}" />
\ 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
Supports Markdown
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