#!/bin/bash

export TMP_ZBNFJAX=$HOME/tmp_docugen
zbnfjax genDocu _textfiles.docugen.sh
exit

DocuGenCtrl_RULES:

//This file should be known in the XML-image, therefore it should be given here:
genCtrl: _textfiles.docugen.sh;

//The hyperlink references may contained in an extra file. It is given here (typical in an other path):
hrefCtrl: ./href_en.href;


importXsl
( XmlDocu_xsl:TopicXhtml.xsl
);


target: ../../../docu/zbnfjax/xsl/*.*.html := file2Html
( srcpath=../../../zbnfjax/xsl
, Cheader2ByteDataAccess_Java.xslp
, Cheader2Xmi.xslp
, CheaderTypes.xsl
, Java2xmiTypes.xsl
, Java2xmi.xslp
, ZmakeGenctrl.zbnf
, ZmakeStd2Ant.genctrl
, ZmakeStd.xslp
, ZmakeStd.zbnf
);



target: ../../../docu/zbnfjax/zmake/*.*.html := file2Html
( srcpath:"../../../zbnfjax/zmake"
, ZmakeGenctrl.zbnf
);


target: ../../../../tmp_docugen/*.*.xml := TextTopic2Xml
( readme_ZmakeAnt.topic
, ZmakeGen.topic
);


//The Document-entry describes the structure of the document.
Document "ZmakeGen" ident=ZmakeGen
html="../../../docu/ZmakeGen.html" css="../../htmlstd.css"
{
  input: ../../../../tmp_docugen/ZmakeGen.topic.xml;
  topictree(ZmakeGen/*);
}



HyperlinkAssociation
{ Topic:.ZbnfJavaOutput.* = "../../../docu/ZbnfJava.html#Topic:.ZbnfJavaOutput.*"; //This topics are found there in locally files.
  Topic:.ZbnfJava.* = "../../../docu/ZbnfJava.html#Topic:.ZbnfJava.*"; //This topics are found there in locally files.
  Topic:.ZBNF2Xml.* = "../../../docu/Zbnf2Xml.html#Topic:.ZBNF2Xml.*"; //This topics are found there in locally files.
  zbnfjax/* = "../../../docu/zbnfjax/*.html";  //Generated html appearance of zbnfjax files.
  zbnfjax:* = "../../../docu/zbnfjax/*.html";  //Generated html appearance of zbnfjax files.
}



