Rapid implementable Print templates framework

System is allowing to massive printing customized templates based on all data aviable from System API. The function is described in glossaryProcesy5 documentation glossary with also Rapid implementable Print templates framework glossary.

System understands templates in DITA-like styke with internal RelatedFeature instruction which contains
  1. association to Business Data Object - example:typeName="p5_default_db:IN7_DZIENNIK_KORESP"
  2. information how to find correct element: example: xpath="ID"
  3. Information which value should be evaluated to (example xpath="ID") - xpath_value="../ID_BILLING_OWNER" - this tells to system that it should find element value from parent object.
<?xml version="1.0" encoding="UTF-8"?>
<RelatedFeature xpath="ID"  typeName="p5_default_db:IN7_DZIENNIK_KORESP"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:noNamespaceSchemaLocation="../../../default_db_xml_cache.public/topicProcesy5.xsd">
  <!-- Sample template to use with Procesy5 model-driven engine with Concurrent and Parallel processing   -->
  <!-- for more information see http://procesy5.pl/procesy5-wfs-api-doc/ or http://procesy5.pl/procesy5-wfs-api-doc/data_read_ant_example_with_filter.html  -->
  <!-- to be used inside Procesy5 system or separatelly in ant environment  together with following scripts:
       build.xml - TODO TO BE DOCUMENTED
       Documentation ref - TODO TO BE DOCUMENTED

    -->
  
  <!-- oznacza to refa z w $var=ID_BILLING_OWNER jest FeatureID=BILLING_OWNER.$var do sciagniecia z p5_default_db:BILLING_OWNER -->
  
<topic id="untitled4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd">
  <title><ph>Pismo nr </ph><ph xpath="ID_PROJECT"/><ph>-</ph><ph xpath="ID"/>
    <ph>z dnia</ph>
    <ph xpath="K_DATA_OTRZYMANEJ_KORESP"/></title>
  <body>
    <simpletable id="simpletable_uym_ps1_zy">
      <strow>
        <stentry>
          <RelatedFeature xpath="ID" xpath_value="../ID_BILLING_OWNER" typeName="p5_default_db:BILLING_OWNER"><!-- oznacza to refa z w $var=ID_BILLING_OWNER jest FeatureID=BILLING_OWNER.$var do sciagniecia z p5_default_db:BILLING_OWNER -->
            <p>Nadawca:</p><ph/>
            <p xpath="name1"/><ph/>
            <p xpath="name2"/><ph/>
            <p><ph xpath="kod"/><ph> </ph><ph xpath="miasto"/><ph> ul.</ph><ph xpath="ulica"/><ph> </ph><ph xpath="numer_dom"/></p>
            <p><ph>nip:</ph><ph xpath="nip"/><ph> regon:</ph><ph xpath="regon"/></p>
            <p><ph>email:</ph><ph xpath="BILLING_OWNER_EMAIL"/> <ph> tel:</ph><ph xpath="tel"/> </p>
            <p><ph>nr r-ku:</ph><ph xpath="nr_rach"/></p>
            
        </RelatedFeature></stentry>
        <stentry>
          <p>Odbiorca:</p><ph/>
          <p xpath="K_OD_KOGO"/><ph/>
          <p xpath="OD_KOGO_ADRES"/><ph/>
          <p xpath="K_NR_OTRZYM_KORESP"/><ph/>
          <p xpath="K_NR_OTRZYM_KORESP"/><ph/>
        </stentry>
      </strow>
    </simpletable>
    
    <p><b>Temat: <ph/><ph xpath="K_ZAWARTOS"/></b></p>
  
 
    <p>Tresc: </p>
    <bodydiv xpath="K_ZAWARTOSC_HTML"/>
    
    
    <p> Miejsca na podpisy<simpletable frame="all" relcolwidth="1.0* 1.0*"
      id="simpletable_ejm_j2r_cz">
      <strow>
        <stentry/> 
        <stentry>Podpis(*)</stentry>
      </strow>
      <strow>
        <stentry/>
        <stentry>
          <codeblock>
            
            
            
            
          </codeblock>
        </stentry>
      </strow>
    </simpletable></p>
    <RelatedFeature xpath="ADM_ACCOUNT" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:ADMIN_USERS"><!-- oznacza to refa z w $var=ID_BILLING_OWNER jest FeatureID=BILLING_OWNER.$var do sciagniecia z p5_default_db:BILLING_OWNER -->
      <p><simpletable frame="all" relcolwidth="1.0* 1.0*" id="simpletable_b2r_ldr_cz_adma">
        <strow>
          <stentry>Referent odpowiedzialny za dokument</stentry>
          <stentry xpath="ADM_NAME"/>
        </strow>
        <strow>
          <stentry>Kontakty</stentry>
          <stentry><ph xpath="EMAIL_LOCAL_ACCOUNT_ADDRESS" xpath_token_filter=" " xpath_token="1"/><ph> </ph><ph xpath="ADM_PHONE"/></stentry>
        </strow>
      </simpletable>
      </p>
    </RelatedFeature>
    <RelatedFeature xpath="ID" xpath_value="../ID_PROJECT" typeName="p5_default_db:IN7_MK_BAZA_DYSTRYBUCJI">
      <RelatedFeature xpath="ADM_ACCOUNT" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:ADMIN_USERS"><!-- oznacza to refa z w $var=ID_BILLING_OWNER jest FeatureID=BILLING_OWNER.$var do sciagniecia z p5_default_db:BILLING_OWNER -->
        <p><simpletable frame="all" relcolwidth="1.0* 1.0*" id="simpletable_b2r_ldr_cz_ref_spr">
          <strow>
            <stentry>Referent odpowiedzialny za sprawÄ™</stentry>
            <stentry xpath="ADM_NAME"/>
          </strow>
          <strow>
            <stentry>Kontakty</stentry>
            <stentry><ph xpath="EMAIL_LOCAL_ACCOUNT_ADDRESS" xpath_token_filter=" " xpath_token="1"/><ph> </ph><ph xpath="ADM_PHONE"/></stentry>
          </strow>
        </simpletable>
        </p>
      </RelatedFeature>
    </RelatedFeature>
    <p><b>Powiazane elementy (inne dokumenty w sprawie)</b></p>
    <p>
      <table>
        <tgroup cols="3">
          <thead>
            <row>
              <entry>ID</entry>
              <entry>Data</entry>
              <entry>Temat</entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry/>
              <entry/>
              <entry/>
            </row>
            <RelatedFeature xpath="ID_PROJECT" xpath_value="../ID_PROJECT" typeName="p5_default_db:IN7_DZIENNIK_KORESP">  <!-- test sciagniecia powiazanych pism do sprawy -->
              <row>
                <entry xpath="ID" />
                <entry xpath="K_DATA_OTRZYMANEJ_KORESP"/>
                <entry xpath="K_ZAWARTOS"/>
              </row>
            </RelatedFeature>
          </tbody>
        </tgroup>
      </table>
    </p> 
    <p/>
    <p/>
    <p><sup>wygenerowano przez procesy5.pl</sup></p>
  </body>
</topic>
</RelatedFeature>
Note: This template generates This file contains pdf template output