CleanCode v1.2.07 AntDoc

Press that icon in order to update AntDoc GUI

Target xmlXform



create CleanCode web pages from source xml

Generates main pages of CleanCode website using the CleanCode xmlTransform tool to translate xml to html.

	depends="init, java.compile"
	description="create CleanCode web pages from source xml"
	<-- Outputs to diagnostics.log and errors.log -->


		<-- switches indicate what to process -->

		<arg value="--generateContents=true"/>

		<arg value="--xslTransform=true"/>

		<arg value="--validateInputToSchema=false"/>

		<arg value="--validateOutputToSchema=false"/>
		<-- the schema file is not quite right... -->
		<-- validateXslBySchema=true -->
		<-- root of source xml tree -->

		<arg value="--sourcePath=${websrc}"/>
		<-- root of target html tree -->

		<arg value="--targetPath=${mirror}"/>
		<-- directories from the tree top back to relative root -->

		<arg value="--startDepth=0"/>
		<-- where to find the group identifier in each file -->

		<arg value="--groupIdXpath=cc:cleanCodeDoc/cc:head/cc:group"/>
		<-- where to add a list of group files in a contents file -->

		<arg value="--groupPlaceHolder=cc:files"/>
		<-- where to put generator information in contents file -->

		<arg value="--generatorNode=cc:generator"/>
		<-- Comma-separated list of directories in source tree to process.
			Use forward-slashes only, even on Windows systems.
			Example: dirList temp, temp/stuff, more, more/stuff/here -->

		<arg value="--dirList=wwwdoc, wwwdoc/codingRules, wwwdoc/webRules, wwwdoc/gallery, wwwdoc/software"/>
		<-- flag to indicate to put contents in parent or in same directory -->

		<arg value="--contentsToParent=true"/>
		<-- name of XSLT file within each directory of dirList -->

		<arg value="--xslName=translate.xsl"/>
		<-- master schema files (overrides individual ones) -->

		<arg value="--inputSchemaSource=${webfiles}/arch/cleancode.xsd"/>
		<-- Need a local copy, not a network copy, of the schema -->
		<-- outputSchemaSource= -->

		<arg value="--outputSchemaSource=${websrc}/xhtml1-strict.xsd"/>
		<-- xsl parms passed via comma-separated list of "name:val" entries -->

		<arg value="--xslParmList=revdate:${revdate},copyright:${copyright},relVersion:${version}"/>
		<-- location of schema file which will validate an xsl file -->
		<-- <arg value="..xslSchema = ${websrc}/xsl.xsd" -->

		<arg value="--inExtension=xml"/>

		<arg value="--outExtension=html"/>
		<-- ignore datestamps if true -->

		<arg value="--processAll=false"/>
		<-- can opt to report on what will happen with a false value -->

		<arg value="--enable=true"/>
		<-- List any single-character diagnostics to activate (range: A-D)
			to the exclusion of *all* other Diagnostic settings. -->
		<-- <arg value="diagList=ACD"/> -->
		<-- Set to true activates all diagnostics (including libraries)
			to the exclusion of *all* other Diagnostic settings. -->

		<arg value="--debug=false"/>
		<-- <arg value="DIAG_LEVEL=0x81a"/> -->

		<arg value="DIAG_LEVEL=0x0"/>
		<-- show all module versions -->

		<arg value="VERSION_DIAG=0x800"/>
		<-- show all configuration options -->

		<arg value="INPUTOPTIONS_DIAG=0x400"/>

		<arg value="XMLTRANSFORM_A_DIAG=0x2"/>

		<arg value="XMLTRANSFORM_B_DIAG=0x4"/>

		<arg value="XMLTRANSFORM_C_DIAG=0x8"/>

		<arg value="XMLTRANSFORM_D_DIAG=0x10"/>

		<arg value="XMLTRANSFORM_E_DIAG=0x20"/>

		<arg value="XMLTRANSFORM_F_DIAG=0x40"/>

		<arg value="OUTPUT_DIAG=9"/>
		<-- log and stdout -->

		<arg value="OUTPUT_ERR=0xA"/>

		<-- log and stderr -->

	<echo>${xmlXform.log} complete.</echo>

Edouard Mercier 2003.10.01 21:48:07 - AntDoc V0.8g - XSL Transformer Factory: org.apache.xalan.processor.TransformerFactoryImpl