Revision 9d3cb802cf841b9e2a0a6902181513fa187de5f0 authored by Peter Stadler on 17 January 2020, 13:13:50 UTC, committed by Peter Stadler on 17 January 2020, 13:13:50 UTC
1 parent 97eac77
Raw File
antbuildweb.xml
<?xml version="1.0" encoding="utf-8"?>
<project basedir="." default="html" name="makehtml">
  <!--
	This library is free software; you can redistribute it and/or
	modify it under the terms of the GNU Lesser General Public
	License as published by the Free Software Foundation; either
	version 2.1 of the License, or (at your option) any later version.
	
	This library is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
	Lesser General Public License for more details.
	
	You should have received a copy of the GNU Lesser General Public
	License along with this library; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
	
        Id: $Id$
        Copyright: 2011, TEI Consortium<
-->
  <!--
      make TEI web site guidelines in various forms
 -->
  <property name="googleAnalytics" value=""/>
  <path id="classpath">
    <pathelement path="${java.class.path}"/>
  </path>
  <macrodef name="buildweb">
     <attribute name="lang"/>
     <sequential>
     <echo>Make Guidelines web pages for language @{lang}</echo>
     <xslt processor="trax" force="yes" style="Utilities/guidelines.xsl" in="p5.xml" out="anything">
       <factory name="net.sf.saxon.TransformerFactoryImpl"/>
       <param name="outputDir" expression="Guidelines-web/@{lang}/html"/>
       <param name="lang" expression="@{lang}"/>
       <param name="doclang" expression="@{lang}"/>
       <param name="documentationLanguage" expression="@{lang}"/>
       <param name="googleAnalytics" expression="${googleAnalytics}"/>
     </xslt>
     </sequential>
  </macrodef>

</project>

back to top