@ -1,3 +1,22 @@
@@ -1,3 +1,22 @@
|
||||
# kb |
||||
# Modul-Skeleton |
||||
Nach dem Auschecken des Repository z.B. in /home/superx/git können Sie es wie folgt installieren: |
||||
|
||||
#Installieren Sie ant, z.B. in /home/superx/tools |
||||
|
||||
wget https://dlcdn.apache.org/ant/binaries/apache-ant-1.10.12-bin.tar.gz |
||||
|
||||
#Ergänzen Sie die SQL_ENV um die Zeilen |
||||
|
||||
ANT_HOME=/home/superx/tools/apache-ant-1.10.12 |
||||
export ANT_HOME |
||||
PATH=$PATH:$ANT_HOME/bin |
||||
export PATH |
||||
|
||||
#Dann gehen Sie ins Verzeichnis |
||||
|
||||
cd git/meinmodul |
||||
|
||||
#und führen aus: |
||||
|
||||
ant -DMODULE_PATH=$MEINMODUL_PFAD -DBASE_DIR=. -DWEBAPP=$WEBAPP -DMODULE=meinmodul all |
||||
|
||||
Modul Wissenbasis |
@ -0,0 +1,65 @@
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project name="ModuleCreation" default="all" basedir="."> |
||||
<!--Aufruf mit |
||||
|
||||
ant -DMODULE_PATH=$KB_PFAD -DBASE_DIR=. -DWEBAPP=$WEBAPP -DMODULE=kb all |
||||
|
||||
So erzeugen Sie dann ein SuperX-Paket: |
||||
ant -DMODULE_PATH=$KB_PFAD -DWEBAPP_DIR=$WEBAPP -DMODULE=kb dist |
||||
|
||||
|
||||
--> |
||||
<dirname file="${ant.file}" property="moduleCreateBaseDir" /> |
||||
<property name="BASE_DIR" value="${moduleCreateBaseDir}/../.." /> |
||||
<property name="WEBAPP" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<path id="classpath"> |
||||
<!--WEB-INF/lib--> |
||||
<fileset dir="${WEBAPP}/WEB-INF"> |
||||
<include name="lib/**/*.jar" /> |
||||
<include name="classes" /> |
||||
</fileset> |
||||
</path> |
||||
<condition property="isWindoze"> |
||||
<os family="windows" /> |
||||
</condition> |
||||
|
||||
<condition property="isUnix"> |
||||
<os family="unix" /> |
||||
</condition> |
||||
<target name="all" description="Gruppe: Kopiere Modul Sourcen in den WEB-INF-Verzeichnisbaum"> |
||||
<antcall target="module_copy_source" /> |
||||
<antcall target="call_module_scripts_create_ant" /> |
||||
</target> |
||||
<target name="module_copy_source" description="Gruppe: Kopiere Modul Sourcen in den WEB-INF-Verzeichnisbaum"> |
||||
<echo message="Start module_copy_sources für Modul ${MODULE} in Pfad ${MODULE_PATH}" /> |
||||
<copy todir="${MODULE_PATH}" overwrite="true"> |
||||
<fileset dir="${BASE_DIR}/src-modules/module/${MODULE}" /> |
||||
</copy> |
||||
</target> |
||||
<target name="call_module_scripts_create_ant" description="Call to module_scripts_create_ant"> |
||||
<subant target="all"> |
||||
<!--<property name="basedir" value="${MODULE_PATH}/../../conf/" />--> |
||||
<property name="MODULE" value="${MODULE}" /> |
||||
<property name="DATABASE" value="POSTGRES" /> |
||||
<property name="WEBAPP_EXT_MODULE" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="WEBAPP" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="SUPERX_BASE" value="${WEBAPP}/WEB-INF" /> |
||||
<fileset dir="${MODULE_PATH}/../../conf" includes="module_scripts_create_ant.xml" /> |
||||
</subant> |
||||
</target> |
||||
<target name="dist" description="Create Download package"> |
||||
<subant target="erzeuge_paket"> |
||||
<!--<property name="basedir" value="${MODULE_PATH}/../../conf/" />--> |
||||
<property name="MODULE" value="${MODULE}" /> |
||||
<property name="PFAD" value="/home/superx/fertige_module" /> |
||||
<property name="DATABASE" value="POSTGRES" /> |
||||
<property name="ENCODING" value="utf8" /> |
||||
<property name="PLATFORM" value="superx" /> |
||||
|
||||
<property name="WEBAPP_EXT_MODULE" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="WEBAPP" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="SUPERX_BASE" value="${WEBAPP}/WEB-INF" /> |
||||
<fileset dir="${MODULE_PATH}/../../conf" includes="build.xml" /> |
||||
</subant> |
||||
</target> |
||||
</project> |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash |
||||
#Synchronisierung webapp zum Zielpfad |
||||
|
||||
ant -DMODULE_PATH=$MEINMODUL_PFAD -DBASE_DIR=. -DMODULE=meinmodul all |
||||
|
||||
|
||||
|
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
rohdaten/KB_ENV |
||||
rohdaten/*.properties |
||||
preparation.sql |
||||
finalize.sql |
||||
rohdaten/*.err |
||||
*.log |
||||
*.err |
||||
rohdaten/unl/* |
||||
conf/customize.sql |
||||
conf/*.log |
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
doku/kb_modul/kb.html |
||||
WEB-INF/conf/edustore/db/bin/document_load.x |
||||
WEB-INF/conf/edustore/db/bin/document_render.x |
@ -0,0 +1,358 @@
@@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><job> |
||||
<name>copyFiles</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<job_version/> |
||||
<job_status>0</job_status> |
||||
<directory>/</directory> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/20 11:09:22.168</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/20 11:09:22.168</modified_date> |
||||
<parameters> |
||||
<parameter> |
||||
<name>from</name> |
||||
<default_value/> |
||||
<description/> |
||||
</parameter> |
||||
<parameter> |
||||
<name>to</name> |
||||
<default_value/> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<slaveservers/> |
||||
<job-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_JOB</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_JOB</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>JOBNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>START_JOB_ENTRY</id> |
||||
<enabled>N</enabled> |
||||
<name>START_JOB_ENTRY</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</job-log-table> |
||||
<jobentry-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBENTRYNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>RESULT</id> |
||||
<enabled>Y</enabled> |
||||
<name>RESULT</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_FILES</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_FILES</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>COPY_NR</id> |
||||
<enabled>N</enabled> |
||||
<name>COPY_NR</name> |
||||
</field> |
||||
</jobentry-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<pass_batchid>N</pass_batchid> |
||||
<shared_objects_file/> |
||||
<entries> |
||||
<entry> |
||||
<name>START</name> |
||||
<description/> |
||||
<type>SPECIAL</type> |
||||
<start>Y</start> |
||||
<dummy>N</dummy> |
||||
<repeat>N</repeat> |
||||
<schedulerType>0</schedulerType> |
||||
<intervalSeconds>0</intervalSeconds> |
||||
<intervalMinutes>60</intervalMinutes> |
||||
<hour>12</hour> |
||||
<minutes>0</minutes> |
||||
<weekDay>1</weekDay> |
||||
<DayOfMonth>1</DayOfMonth> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>160</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>Copy Files</name> |
||||
<description/> |
||||
<type>COPY_FILES</type> |
||||
<copy_empty_folders>Y</copy_empty_folders> |
||||
<arg_from_previous>N</arg_from_previous> |
||||
<overwrite_files>Y</overwrite_files> |
||||
<include_subfolders>Y</include_subfolders> |
||||
<remove_source_files>N</remove_source_files> |
||||
<add_result_filesname>N</add_result_filesname> |
||||
<destination_is_a_file>N</destination_is_a_file> |
||||
<create_destination_folder>Y</create_destination_folder> |
||||
<fields> |
||||
<field> |
||||
<source_filefolder>${from}</source_filefolder> |
||||
<source_configuration_name>LOCAL-SOURCE-FILE-0</source_configuration_name> |
||||
<destination_filefolder>${to}</destination_filefolder> |
||||
<destination_configuration_name>LOCAL-DEST-FILE-0</destination_configuration_name> |
||||
<wildcard/> |
||||
</field> |
||||
</fields> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>304</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
</entries> |
||||
<hops> |
||||
<hop> |
||||
<from>START</from> |
||||
<to>Copy Files</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>Y</unconditional> |
||||
</hop> |
||||
</hops> |
||||
<notepads/> |
||||
</job> |
@ -0,0 +1,550 @@
@@ -0,0 +1,550 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>copy_source_files</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>177</default_value> |
||||
<description/> |
||||
</parameter> |
||||
<parameter> |
||||
<name>src_title</name> |
||||
<default_value>Screenshot-Werkzeuge</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/02 10:19:37.505</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/02 10:19:37.505</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getFileLinks</from> |
||||
<to>Job Executor</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>getFileLinks</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>mediawiki</connection> |
||||
<sql>select P.page_id,P.page_title,concat('/var/www/html/wiki/images/',substring(md5(I.img_name) from 1 for 1),'/',substring(md5(I.img_name) from 1 for 2),'/',I.img_name) as src_file,${document_id} as document_id, |
||||
CURDATE() as last_input, |
||||
substring('${Internal.Transformation.Filename.Directory}/tmp/files_${document_id}' from 8 for 200) as target_file |
||||
from wikidb.page P, wikidb.imagelinks IL, wikidb.image I |
||||
where P.page_id=IL.il_from |
||||
and IL.il_to=I.img_name |
||||
and P.page_title='${src_title}' |
||||
;</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>112</xloc> |
||||
<yloc>80</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>Job Executor</name> |
||||
<type>JobExecutor</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<specification_method>filename</specification_method> |
||||
<job_object_id/> |
||||
<job_name/> |
||||
<filename>${Internal.Transformation.Filename.Directory}/copyFiles.kjb</filename> |
||||
<directory_path/> |
||||
<group_size>1</group_size> |
||||
<group_field/> |
||||
<group_time/> |
||||
<parameters> |
||||
<variablemapping> |
||||
<variable>from</variable> |
||||
<field>src_file</field> |
||||
<input/> |
||||
</variablemapping> |
||||
<variablemapping> |
||||
<variable>to</variable> |
||||
<field>target_file</field> |
||||
<input/> |
||||
</variablemapping> |
||||
<inherit_all_vars>Y</inherit_all_vars> |
||||
</parameters> |
||||
<execution_result_target_step/> |
||||
<execution_time_field>ExecutionTime</execution_time_field> |
||||
<execution_result_field>ExecutionResult</execution_result_field> |
||||
<execution_errors_field>ExecutionNrErrors</execution_errors_field> |
||||
<execution_lines_read_field>ExecutionLinesRead</execution_lines_read_field> |
||||
<execution_lines_written_field>ExecutionLinesWritten</execution_lines_written_field> |
||||
<execution_lines_input_field>ExecutionLinesInput</execution_lines_input_field> |
||||
<execution_lines_output_field>ExecutionLinesOutput</execution_lines_output_field> |
||||
<execution_lines_rejected_field>ExecutionLinesRejected</execution_lines_rejected_field> |
||||
<execution_lines_updated_field>ExecutionLinesUpdated</execution_lines_updated_field> |
||||
<execution_lines_deleted_field>ExecutionLinesDeleted</execution_lines_deleted_field> |
||||
<execution_files_retrieved_field>ExecutionFilesRetrieved</execution_files_retrieved_field> |
||||
<execution_exit_status_field>ExecutionExitStatus</execution_exit_status_field> |
||||
<execution_log_text_field>ExecutionLogText</execution_log_text_field> |
||||
<execution_log_channelid_field>ExecutionLogChannelId</execution_log_channelid_field> |
||||
<result_rows_target_step/> |
||||
<result_files_target_step/> |
||||
<result_files_file_name_field>FileName</result_files_file_name_field> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>256</xloc> |
||||
<yloc>80</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,858 @@
@@ -0,0 +1,858 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>download_source_files</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>46</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/02 10:19:37.505</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/02 10:19:37.505</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getFileLinks</from> |
||||
<to>DownloadImageXml</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>DownloadImageXml</from> |
||||
<to>getImagePath</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getImagePath</from> |
||||
<to>valid url</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>valid url</from> |
||||
<to>DownloadImage</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>valid url</from> |
||||
<to>Abort</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>DownloadImage</name> |
||||
<type>UserDefinedJavaClass</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<definitions> |
||||
<definition> |
||||
<class_type>TRANSFORM_CLASS</class_type> |
||||
<class_name>Processor</class_name> |
||||
<class_source>import org.apache.commons.httpclient.Cookie; |
||||
import org.apache.commons.httpclient.HttpClient; |
||||
import org.apache.commons.httpclient.HttpException; |
||||
import org.apache.commons.httpclient.HttpState; |
||||
import org.apache.commons.httpclient.NameValuePair; |
||||
import org.apache.commons.httpclient.cookie.CookiePolicy; |
||||
import org.apache.commons.httpclient.methods.GetMethod; |
||||
import org.apache.commons.httpclient.methods.PostMethod; |
||||
import java.io.InputStream; |
||||
import java.io.BufferedOutputStream; |
||||
import java.io.IOException; |
||||
import java.io.FileOutputStream; |
||||
import java.io.File; |
||||
|
||||
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException, HttpException, IOException { |
||||
|
||||
Object[] r = getRow(); |
||||
if (r == null) { |
||||
setOutputDone(); |
||||
return false; |
||||
} |
||||
|
||||
String host=get(Fields.In, "hostname").getString(r);// e.g."wiki.his.de"; |
||||
String cookieName=get(Fields.In, "cookie_name").getString(r); //"wikidb_session"; |
||||
String cookieValue=get(Fields.In, "cookie_value").getString(r);//"dr1brbd7saa7jismgsk2a3cf80"; //getParameter("cookie"); |
||||
String linkTarget=get(Fields.In, "link_target").getString(r); |
||||
String linkTargetPath=get(Fields.In, "link_target_path").getString(r); |
||||
|
||||
String strURL=get(Fields.In, "image_url").getString(r); |
||||
String outfile=linkTargetPath+"/"+linkTarget; |
||||
HttpState initialState = null; |
||||
initialState = authenticateWithCookie(host, cookieName, cookieValue); |
||||
String responseBody =""; |
||||
int result=0; |
||||
//TODO: wenn strURL leer ist, sollte Meldung ins Protokoll. |
||||
if(strURL!=null && !strURL.equals("")) |
||||
//System.out.println("Feler"); |
||||
result=downloadBinary(strURL, initialState, outfile); |
||||
Object[] outputRow = createOutputRow(r, data.outputRowMeta.size()); |
||||
//get(Fields.Out, "imageinfo").setValue(outputRow, responseBody); |
||||
|
||||
putRow(data.outputRowMeta, outputRow); |
||||
return true; |
||||
} |
||||
|
||||
public static HttpState authenticateWithCookie(String host, String cookieName, String cookieValue) { |
||||
HttpState initialState = new HttpState(); |
||||
if(cookieName != null){ |
||||
Cookie mycookie = new Cookie(host, cookieName, cookieValue, "/", null, false); |
||||
initialState.addCookie(mycookie); |
||||
} |
||||
return initialState; |
||||
} |
||||
public static int downloadBinary(String strURL, HttpState initialState,String outfile) throws IOException, HttpException { |
||||
|
||||
|
||||
String responseBodyString=""; |
||||
HttpClient httpclient = new HttpClient(); |
||||
httpclient.getHttpConnectionManager(). |
||||
getParams().setConnectionTimeout(30000); |
||||
httpclient.setState(initialState); |
||||
|
||||
httpclient.getParams().setCookiePolicy(CookiePolicy.RFC_2109); |
||||
GetMethod httpget = new GetMethod(strURL); |
||||
// Execute HTTP GET |
||||
//der Inhalt steht in texDownloadImagetarea id=wpTextbox1 |
||||
int result=0; |
||||
try { |
||||
result = httpclient.executeMethod(httpget); |
||||
//System.out.println("Response status code: " + result); |
||||
InputStream responseBody = null; |
||||
|
||||
responseBody = httpget.getResponseBodyAsStream(); //getResponseBodyAsString(); |
||||
BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(new File(outfile))); |
||||
int inByte; |
||||
while((inByte = responseBody.read()) != -1) bos.write(inByte); |
||||
responseBody.close(); |
||||
bos.close(); |
||||
} catch (Exception e) { |
||||
//System.err.println("invalid URL "+ strURL); |
||||
throw new KettleException("invalid URL "+ strURL.trim() +" for outfile "+outfile); |
||||
|
||||
} |
||||
return result; |
||||
}</class_source> |
||||
</definition> |
||||
</definitions> |
||||
<fields/> |
||||
<clear_result_fields>N</clear_result_fields> |
||||
<info_steps/> |
||||
<target_steps/> |
||||
<usage_parameters/> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>592</xloc> |
||||
<yloc>272</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>DownloadImageXml</name> |
||||
<type>UserDefinedJavaClass</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<definitions> |
||||
<definition> |
||||
<class_type>TRANSFORM_CLASS</class_type> |
||||
<class_name>Processor</class_name> |
||||
<class_source>import org.apache.commons.httpclient.Cookie; |
||||
import org.apache.commons.httpclient.HttpClient; |
||||
import org.apache.commons.httpclient.HttpException; |
||||
import org.apache.commons.httpclient.HttpState; |
||||
import org.apache.commons.httpclient.NameValuePair; |
||||
import org.apache.commons.httpclient.cookie.CookiePolicy; |
||||
import org.apache.commons.httpclient.methods.GetMethod; |
||||
import org.apache.commons.httpclient.methods.PostMethod; |
||||
import java.io.InputStream; |
||||
import java.io.IOException; |
||||
|
||||
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException { |
||||
|
||||
Object[] r = getRow(); |
||||
if (r == null) { |
||||
setOutputDone(); |
||||
return false; |
||||
} |
||||
|
||||
String host=get(Fields.In, "hostname").getString(r);// e.g."wiki.his.de"; |
||||
String cookieName=get(Fields.In, "cookie_name").getString(r); //"wikidb_session"; |
||||
String cookieValue=get(Fields.In, "cookie_value").getString(r);//"dr1brbd7saa7jismgsk2a3cf80"; //getParameter("cookie"); |
||||
|
||||
String title= "Datei:"+get(Fields.In, "link_target").getString(r); |
||||
String strURL="https://"+host+"/mediawiki/api.php?action=query&titles="+title+"&prop=imageinfo&iiprop=url&format=xml"; |
||||
HttpState initialState = null; |
||||
initialState = authenticateWithCookie(host, cookieName, cookieValue); |
||||
String responseBody =""; |
||||
try { |
||||
responseBody = getPageContent(strURL, initialState); |
||||
|
||||
} catch (HttpException e) { |
||||
// TODO Auto-generated catch block |
||||
e.printStackTrace(); |
||||
} catch (IOException e) { |
||||
// TODO Auto-generated catch block |
||||
e.printStackTrace(); |
||||
} |
||||
Object[] outputRow = createOutputRow(r, data.outputRowMeta.size()); |
||||
get(Fields.Out, "imageinfo").setValue(outputRow, responseBody); |
||||
|
||||
putRow(data.outputRowMeta, outputRow); |
||||
return true; |
||||
} |
||||
|
||||
public static HttpState authenticateWithCookie(String host, String cookieName, String cookieValue) { |
||||
HttpState initialState = new HttpState(); |
||||
if(cookieName != null){ |
||||
Cookie mycookie = new Cookie(host, cookieName, cookieValue, "/", null, false); |
||||
initialState.addCookie(mycookie); |
||||
} |
||||
return initialState; |
||||
} |
||||
public static String getPageContent(String strURL, HttpState initialState) throws IOException, HttpException { |
||||
|
||||
int c; |
||||
String responseBodyString=""; |
||||
HttpClient httpclient = new HttpClient(); |
||||
httpclient.getHttpConnectionManager(). |
||||
getParams().setConnectionTimeout(30000); |
||||
httpclient.setState(initialState); |
||||
|
||||
httpclient.getParams().setCookiePolicy(CookiePolicy.RFC_2109); |
||||
GetMethod httpget = new GetMethod(strURL); |
||||
httpget.addRequestHeader("Content-Type","text/xml; charset=UTF-8"); |
||||
// Execute HTTP GETDownloadImage |
||||
//der Inhalt steht in textarea id=wpTextbox1 |
||||
int result = httpclient.executeMethod(httpget); |
||||
//System.out.println("Response status code: " + result); |
||||
InputStream responseBody = null; |
||||
|
||||
//responseBody = httpget.getResponseBodyAsStream(); //getResponseBodyAsString(); |
||||
responseBodyString=httpget.getResponseBodyAsString(); |
||||
/*while ((c = responseBody.read()) != -1) { |
||||
responseBodyString+= (char) c; |
||||
}*/ |
||||
httpget.releaseConnection(); |
||||
return responseBodyString; |
||||
}</class_source> |
||||
</definition> |
||||
</definitions> |
||||
<fields/> |
||||
<clear_result_fields>N</clear_result_fields> |
||||
<info_steps/> |
||||
<target_steps/> |
||||
<usage_parameters/> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>208</xloc> |
||||
<yloc>224</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getFileLinks</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select S.id,S.document_id, L.link_target,W.hostname,W.cookie_name, W.cookie_value, today() as last_input,''::TEXT as imageinfo,substring('${Internal.Transformation.Filename.Directory}/tmp/files_${document_id}' from 8 for 200) as link_target_path |
||||
from kb_document_source S, kb_document_source_link L, kb_webconnection W |
||||
where S.id=L.kb_document_source_id |
||||
and W.id=S.webconnection_id |
||||
and L.link_type in ('image','datei') |
||||
and S.document_id=${document_id} |
||||
--limit 3 |
||||
; |
||||
</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>128</xloc> |
||||
<yloc>96</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getImagePath</name> |
||||
<type>XSLT</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<xslfilename>${Internal.Transformation.Filename.Directory}/mediawikiapi_imageinfo2text.xsl</xslfilename> |
||||
<fieldname>imageinfo</fieldname> |
||||
<resultfieldname>image_url</resultfieldname> |
||||
<xslfilefield/> |
||||
<xslfilefielduse>N</xslfilefielduse> |
||||
<xslfieldisafile>N</xslfieldisafile> |
||||
<xslfactory>JAXP</xslfactory> |
||||
<parameters/> |
||||
<outputproperties> |
||||
<outputproperty> |
||||
<name>method</name> |
||||
<value>text</value> |
||||
</outputproperty> |
||||
</outputproperties> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>240</xloc> |
||||
<yloc>320</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>valid url</name> |
||||
<type>FilterRows</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<send_true_to>DownloadImage</send_true_to> |
||||
<send_false_to>Abort</send_false_to> |
||||
<compare> |
||||
<condition> |
||||
<negated>N</negated> |
||||
<conditions> |
||||
<condition> |
||||
<negated>N</negated> |
||||
<leftvalue>image_url</leftvalue> |
||||
<function>IS NOT NULL</function> |
||||
<rightvalue/> |
||||
<value> |
||||
<name>constant</name> |
||||
<type>String</type> |
||||
<text>""</text> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<isnull>N</isnull> |
||||
<mask/> |
||||
</value> |
||||
</condition> |
||||
<condition> |
||||
<negated>N</negated> |
||||
<operator>AND</operator> |
||||
<leftvalue>image_url</leftvalue> |
||||
<function><></function> |
||||
<rightvalue/> |
||||
<value> |
||||
<name>constant</name> |
||||
<type>String</type> |
||||
<text>""</text> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<isnull>N</isnull> |
||||
<mask/> |
||||
</value> |
||||
</condition> |
||||
</conditions> |
||||
</condition> |
||||
</compare> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>400</xloc> |
||||
<yloc>304</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>Abort</name> |
||||
<type>Abort</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<row_threshold>0</row_threshold> |
||||
<message>Image URL invalid</message> |
||||
<always_log_rows>Y</always_log_rows> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>576</xloc> |
||||
<yloc>352</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,566 @@
@@ -0,0 +1,566 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>kb_document_source_header_fuellen</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>209</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2017/12/29 18:28:05.007</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2017/12/29 18:28:05.007</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getHeadersStr</from> |
||||
<to>createHeaderRows</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>createHeaderRows</from> |
||||
<to>kb_document_source_header_fuellen</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>createHeaderRows</name> |
||||
<type>SplitFieldToRows3</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<splitfield>src_headers</splitfield> |
||||
<delimiter>^</delimiter> |
||||
<newfield>src_header</newfield> |
||||
<rownum>Y</rownum> |
||||
<rownum_field>sortnr</rownum_field> |
||||
<resetrownumber>Y</resetrownumber> |
||||
<delimiter_is_regex>N</delimiter_is_regex> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>96</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getHeadersStr</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select S.id,S.document_id, S.src_headers, S.src_header_levels |
||||
from kb_document_source S |
||||
where S.document_id=${document_id}</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>64</xloc> |
||||
<yloc>48</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>kb_document_source_header_fuellen</name> |
||||
<type>TableOutput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<schema/> |
||||
<table>kb_document_source_header</table> |
||||
<commit>1000</commit> |
||||
<truncate>N</truncate> |
||||
<ignore_errors>N</ignore_errors> |
||||
<use_batch>N</use_batch> |
||||
<specify_fields>Y</specify_fields> |
||||
<partitioning_enabled>N</partitioning_enabled> |
||||
<partitioning_field/> |
||||
<partitioning_daily>N</partitioning_daily> |
||||
<partitioning_monthly>Y</partitioning_monthly> |
||||
<tablename_in_field>N</tablename_in_field> |
||||
<tablename_field/> |
||||
<tablename_in_table>Y</tablename_in_table> |
||||
<return_keys>N</return_keys> |
||||
<return_field/> |
||||
<fields> |
||||
<field> |
||||
<column_name>kb_document_source_id</column_name> |
||||
<stream_name>id</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>src_header</column_name> |
||||
<stream_name>src_header</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>sortnr</column_name> |
||||
<stream_name>sortnr</stream_name> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>240</xloc> |
||||
<yloc>224</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,618 @@
@@ -0,0 +1,618 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>kb_document_source_header_level_setzen</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>209</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2017/12/29 18:28:05.007</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2017/12/29 18:28:05.007</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getHeadersStr</from> |
||||
<to>createHeaderRows</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>createHeaderRows</from> |
||||
<to>level2integer</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>level2integer</from> |
||||
<to>kb_document_source_header_fuellen</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>getHeadersStr</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select S.id,S.document_id, S.src_headers, S.src_header_levels |
||||
from kb_document_source S |
||||
where S.document_id=${document_id}</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>64</xloc> |
||||
<yloc>48</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>createHeaderRows</name> |
||||
<type>SplitFieldToRows3</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<splitfield>src_header_levels</splitfield> |
||||
<delimiter>^</delimiter> |
||||
<newfield>src_header_level</newfield> |
||||
<rownum>Y</rownum> |
||||
<rownum_field>sortnr</rownum_field> |
||||
<resetrownumber>Y</resetrownumber> |
||||
<delimiter_is_regex>N</delimiter_is_regex> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>96</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>kb_document_source_header_fuellen</name> |
||||
<type>InsertUpdate</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<commit>100</commit> |
||||
<update_bypassed>N</update_bypassed> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_document_source_header</table> |
||||
<key> |
||||
<name>id</name> |
||||
<field>kb_document_source_id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<key> |
||||
<name>sortnr</name> |
||||
<field>sortnr</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>src_header_level</name> |
||||
<rename>src_header_level</rename> |
||||
<update>Y</update> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>384</xloc> |
||||
<yloc>192</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>level2integer</name> |
||||
<type>SelectValues</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<fields> |
||||
<field> |
||||
<name>src_header_level</name> |
||||
<rename/> |
||||
</field> |
||||
<field> |
||||
<name>id</name> |
||||
<rename/> |
||||
</field> |
||||
<field> |
||||
<name>sortnr</name> |
||||
<rename/> |
||||
</field> |
||||
<select_unspecified>N</select_unspecified> |
||||
<meta> |
||||
<name>src_header_level</name> |
||||
<rename>src_header_level</rename> |
||||
<type>Integer</type> |
||||
<length>-2</length> |
||||
<precision>-2</precision> |
||||
<conversion_mask/> |
||||
<date_format_lenient>false</date_format_lenient> |
||||
<date_format_locale/> |
||||
<date_format_timezone/> |
||||
<lenient_string_to_number>true</lenient_string_to_number> |
||||
<encoding/> |
||||
<decimal_symbol/> |
||||
<grouping_symbol/> |
||||
<currency_symbol/> |
||||
<storage_type/> |
||||
</meta> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>208</xloc> |
||||
<yloc>224</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,774 @@
@@ -0,0 +1,774 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>kb_document_source_link_fuellen</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>251</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2017/12/29 18:28:05.007</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2017/12/29 18:28:05.007</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getLinksStr</from> |
||||
<to>createLinkRows</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>Sort rows</from> |
||||
<to>Unique rows</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>createLinkRows</from> |
||||
<to>getLinkTypeandChapter</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getLinkTypeandChapter</from> |
||||
<to>Sort rows</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>Unique rows</from> |
||||
<to>harmonize_linkTypes</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>harmonize_linkTypes</from> |
||||
<to>kb_document_source_link_fuellen</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>Sort rows</name> |
||||
<type>SortRows</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<directory>%%java.io.tmpdir%%</directory> |
||||
<prefix>out</prefix> |
||||
<sort_size>1000000</sort_size> |
||||
<free_memory/> |
||||
<compress>N</compress> |
||||
<compress_variable/> |
||||
<unique_rows>N</unique_rows> |
||||
<fields> |
||||
<field> |
||||
<name>a_href</name> |
||||
<ascending>Y</ascending> |
||||
<case_sensitive>Y</case_sensitive> |
||||
<collator_enabled>N</collator_enabled> |
||||
<collator_strength>0</collator_strength> |
||||
<presorted>N</presorted> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>272</xloc> |
||||
<yloc>208</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>Unique rows</name> |
||||
<type>Unique</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<count_rows>N</count_rows> |
||||
<count_field/> |
||||
<reject_duplicate_row>N</reject_duplicate_row> |
||||
<error_description/> |
||||
<fields> |
||||
<field> |
||||
<name>link_target</name> |
||||
<case_insensitive>N</case_insensitive> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>400</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>createLinkRows</name> |
||||
<type>SplitFieldToRows3</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<splitfield>internal_hyperlinks</splitfield> |
||||
<delimiter>^</delimiter> |
||||
<newfield>link_target</newfield> |
||||
<rownum>N</rownum> |
||||
<rownum_field>sortnr</rownum_field> |
||||
<resetrownumber>Y</resetrownumber> |
||||
<delimiter_is_regex>N</delimiter_is_regex> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>96</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getLinkTypeandChapter</name> |
||||
<type>ScriptValueMod</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<compatible>N</compatible> |
||||
<optimizationLevel>9</optimizationLevel> |
||||
<jsScripts> |
||||
<jsScript> |
||||
<jsScript_type>0</jsScript_type> |
||||
<jsScript_name>Script 1</jsScript_name> |
||||
<jsScript_script>//Script here |
||||
var a_prefix=""; |
||||
var a_href=""; |
||||
var a_chapter=""; |
||||
if(link_target.indexOf(":") >0) |
||||
{ |
||||
a_prefix=link_target.substr(0,link_target.indexOf(":")); |
||||
a_href=link_target.substr(link_target.indexOf(":")+1).trim(); |
||||
|
||||
} |
||||
else |
||||
{ |
||||
a_prefix="link"; |
||||
a_href=link_target.substr(1).trim(); |
||||
} |
||||
if(a_href.indexOf("#") >0) |
||||
{ |
||||
a_chapter=a_href.substr(a_href.indexOf("#")+1).trim(); |
||||
a_href=a_href.substr(0,a_href.indexOf("#")).trim(); |
||||
|
||||
} |
||||
if(a_href.indexOf("<") >0) |
||||
{ |
||||
a_href=a_href.substr(0,a_href.indexOf("<")).trim(); |
||||
|
||||
}</jsScript_script> |
||||
</jsScript> |
||||
</jsScripts> |
||||
<fields> |
||||
<field> |
||||
<name>a_href</name> |
||||
<rename>a_href</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>a_prefix</name> |
||||
<rename>a_prefix</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>a_chapter</name> |
||||
<rename>a_chapter</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>176</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getLinksStr</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select S.id,S.document_id, S.internal_hyperlinks |
||||
from kb_document_source S |
||||
where S.document_id=${document_id}</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>64</xloc> |
||||
<yloc>48</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>harmonize_linkTypes</name> |
||||
<type>ValueMapper</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<field_to_use>a_prefix</field_to_use> |
||||
<target_field/> |
||||
<non_match_default/> |
||||
<fields> |
||||
<field> |
||||
<source_value>bild</source_value> |
||||
<target_value>image</target_value> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>528</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>kb_document_source_link_fuellen</name> |
||||
<type>TableOutput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<schema/> |
||||
<table>kb_document_source_link</table> |
||||
<commit>1000</commit> |
||||
<truncate>N</truncate> |
||||
<ignore_errors>N</ignore_errors> |
||||
<use_batch>N</use_batch> |
||||
<specify_fields>Y</specify_fields> |
||||
<partitioning_enabled>N</partitioning_enabled> |
||||
<partitioning_field/> |
||||
<partitioning_daily>N</partitioning_daily> |
||||
<partitioning_monthly>Y</partitioning_monthly> |
||||
<tablename_in_field>N</tablename_in_field> |
||||
<tablename_field/> |
||||
<tablename_in_table>Y</tablename_in_table> |
||||
<return_keys>N</return_keys> |
||||
<return_field/> |
||||
<fields> |
||||
<field> |
||||
<column_name>kb_document_source_id</column_name> |
||||
<stream_name>id</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>link_target</column_name> |
||||
<stream_name>a_href</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>link_chapter</column_name> |
||||
<stream_name>a_chapter</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>link_type</column_name> |
||||
<stream_name>a_prefix</stream_name> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>656</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,714 @@
@@ -0,0 +1,714 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>kb_document_source_template_fuellen</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>209</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2017/12/29 18:28:05.007</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2017/12/29 18:28:05.007</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>Sort rows</from> |
||||
<to>Unique rows</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>Unique rows</from> |
||||
<to>kb_document_source_template_fuellen</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getTemplateStr</from> |
||||
<to>createRows</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>createRows</from> |
||||
<to>getTemplateName</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getTemplateName</from> |
||||
<to>Sort rows</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>Sort rows</name> |
||||
<type>SortRows</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<directory>%%java.io.tmpdir%%</directory> |
||||
<prefix>out</prefix> |
||||
<sort_size>1000000</sort_size> |
||||
<free_memory/> |
||||
<compress>N</compress> |
||||
<compress_variable/> |
||||
<unique_rows>N</unique_rows> |
||||
<fields> |
||||
<field> |
||||
<name>templateName</name> |
||||
<ascending>Y</ascending> |
||||
<case_sensitive>Y</case_sensitive> |
||||
<collator_enabled>N</collator_enabled> |
||||
<collator_strength>0</collator_strength> |
||||
<presorted>N</presorted> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>224</xloc> |
||||
<yloc>192</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>Unique rows</name> |
||||
<type>Unique</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<count_rows>N</count_rows> |
||||
<count_field/> |
||||
<reject_duplicate_row>N</reject_duplicate_row> |
||||
<error_description/> |
||||
<fields> |
||||
<field> |
||||
<name>templateName</name> |
||||
<case_insensitive>N</case_insensitive> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>320</xloc> |
||||
<yloc>192</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>createRows</name> |
||||
<type>SplitFieldToRows3</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<splitfield>template_options</splitfield> |
||||
<delimiter>^</delimiter> |
||||
<newfield>template_option</newfield> |
||||
<rownum>N</rownum> |
||||
<rownum_field>sortnr</rownum_field> |
||||
<resetrownumber>N</resetrownumber> |
||||
<delimiter_is_regex>N</delimiter_is_regex> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>64</xloc> |
||||
<yloc>160</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getTemplateName</name> |
||||
<type>ScriptValueMod</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<compatible>N</compatible> |
||||
<optimizationLevel>9</optimizationLevel> |
||||
<jsScripts> |
||||
<jsScript> |
||||
<jsScript_type>0</jsScript_type> |
||||
<jsScript_name>Script 1</jsScript_name> |
||||
<jsScript_script>//Script here |
||||
|
||||
var templateName=""; |
||||
var templateParams=""; |
||||
var nameDelim=-1; |
||||
nameDelim=template_option.indexOf(":"); |
||||
if(nameDelim>-1) |
||||
{ |
||||
templateName=template_option.substring(0,nameDelim); |
||||
templateParams=template_option.substr(nameDelim+1); |
||||
} |
||||
else |
||||
templateName=template_option; |
||||
</jsScript_script> |
||||
</jsScript> |
||||
</jsScripts> |
||||
<fields> |
||||
<field> |
||||
<name>templateName</name> |
||||
<rename>templateName</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>templateParams</name> |
||||
<rename>templateParams</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>144</xloc> |
||||
<yloc>224</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getTemplateStr</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select S.id,S.document_id, S.template_options |
||||
from kb_document_source S |
||||
where S.document_id=${document_id}</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>64</xloc> |
||||
<yloc>48</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>kb_document_source_template_fuellen</name> |
||||
<type>TableOutput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<schema/> |
||||
<table>kb_document_source_template</table> |
||||
<commit>1000</commit> |
||||
<truncate>N</truncate> |
||||
<ignore_errors>N</ignore_errors> |
||||
<use_batch>N</use_batch> |
||||
<specify_fields>Y</specify_fields> |
||||
<partitioning_enabled>N</partitioning_enabled> |
||||
<partitioning_field/> |
||||
<partitioning_daily>N</partitioning_daily> |
||||
<partitioning_monthly>Y</partitioning_monthly> |
||||
<tablename_in_field>N</tablename_in_field> |
||||
<tablename_field/> |
||||
<tablename_in_table>Y</tablename_in_table> |
||||
<return_keys>N</return_keys> |
||||
<return_field/> |
||||
<fields> |
||||
<field> |
||||
<column_name>kb_document_source_id</column_name> |
||||
<stream_name>id</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>template_name</column_name> |
||||
<stream_name>templateName</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>template_params</column_name> |
||||
<stream_name>templateParams</stream_name> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>512</xloc> |
||||
<yloc>192</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,723 @@
@@ -0,0 +1,723 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>load_mediawiki</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>76</default_value> |
||||
<description/> |
||||
</parameter> |
||||
<parameter> |
||||
<name>src_title</name> |
||||
<default_value>Moduldokumentation_Qualitätssicherung</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2017/08/22 11:23:11.075</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2017/08/22 11:23:11.075</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>wiki2html</from> |
||||
<to>Update src_xml</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>saveSrc</from> |
||||
<to>Block this step until steps finish</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>Block this step until steps finish</from> |
||||
<to>wiki2html</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getSrcText</from> |
||||
<to>saveSrc</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>Block this step until steps finish</name> |
||||
<type>BlockUntilStepsFinish</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<steps> |
||||
<step> |
||||
<name>saveSrc</name> |
||||
<CopyNr>0</CopyNr> |
||||
</step> |
||||
</steps> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>384</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>Update src_xml</name> |
||||
<type>Update</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<skip_lookup>N</skip_lookup> |
||||
<commit>100</commit> |
||||
<use_batch>N</use_batch> |
||||
<error_ignored>N</error_ignored> |
||||
<ignore_flag_field/> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_document_source</table> |
||||
<key> |
||||
<name>document_id</name> |
||||
<field>document_id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>src_xml</name> |
||||
<rename>contentHtml</rename> |
||||
</value> |
||||
<value> |
||||
<name>last_input</name> |
||||
<rename>last_input</rename> |
||||
</value> |
||||
<value> |
||||
<name>src_headers</name> |
||||
<rename>headersStr</rename> |
||||
</value> |
||||
<value> |
||||
<name>src_header_levels</name> |
||||
<rename>headersLevelsStr</rename> |
||||
</value> |
||||
<value> |
||||
<name>internal_hyperlinks</name> |
||||
<rename>internalHyperlinksStr</rename> |
||||
</value> |
||||
<value> |
||||
<name>template_options</name> |
||||
<rename>templateOptionsStr</rename> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>560</xloc> |
||||
<yloc>144</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getSrcText</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>N</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>mediawiki</connection> |
||||
<sql>select P.page_id,CONVERT(P.page_title USING utf8) as page_title,T.old_text as result_text,${document_id} as document_id, CURDATE() as last_input |
||||
from wikidb.text T, wikidb.revision R, wikidb.page P |
||||
where P.page_id=R.rev_page |
||||
and T.old_id=R.rev_text_id |
||||
and R.rev_id=(select max(R2.rev_id) from wikidb.revision R2,wikidb.page P2 where P2.page_id=R2.rev_page and CONVERT(P2.page_title USING utf8)='${src_title}') |
||||
and CONVERT(P.page_title USING utf8)='${src_title}'</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>64</xloc> |
||||
<yloc>48</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>saveSrc</name> |
||||
<type>Update</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<skip_lookup>N</skip_lookup> |
||||
<commit>100</commit> |
||||
<use_batch>N</use_batch> |
||||
<error_ignored>N</error_ignored> |
||||
<ignore_flag_field/> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_document_source</table> |
||||
<key> |
||||
<name>document_id</name> |
||||
<field>document_id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>src_text</name> |
||||
<rename>result_text</rename> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>176</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>wiki2html</name> |
||||
<type>ScriptValueMod</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<compatible>N</compatible> |
||||
<optimizationLevel>9</optimizationLevel> |
||||
<jsScripts> |
||||
<jsScript> |
||||
<jsScript_type>0</jsScript_type> |
||||
<jsScript_name>Script 1</jsScript_name> |
||||
<jsScript_script>//Script here |
||||
// assuming, that the ua-parser.js is in the transformation directory: |
||||
var transformationPath = getVariable("Internal.Transformation.Filename.Directory", ""); |
||||
var jsScriptPath = transformationPath + "/mwtools.js"; |
||||
LoadScriptFile(jsScriptPath); |
||||
//alert("klappt"); |
||||
|
||||
var newWikiModel = new wikiModel(result_text); |
||||
|
||||
//var contentHtml=mw2xhtml(result_text); |
||||
|
||||
var contentHtml=newWikiModel.wikiHtml; |
||||
var headersStr=newWikiModel.headersStr; |
||||
var headersLevelsStr=newWikiModel.headersLevelsStr; |
||||
var internalHyperlinksStr=newWikiModel.internalHyperlinksStr; |
||||
var templateOptionsStr=newWikiModel.templateOptionsStr; |
||||
</jsScript_script> |
||||
</jsScript> |
||||
</jsScripts> |
||||
<fields> |
||||
<field> |
||||
<name>contentHtml</name> |
||||
<rename>contentHtml</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>headersStr</name> |
||||
<rename>headersStr</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>headersLevelsStr</name> |
||||
<rename>headersLevelsStr</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>internalHyperlinksStr</name> |
||||
<rename>internalHyperlinksStr</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>templateOptionsStr</name> |
||||
<rename>templateOptionsStr</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>528</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?> |
||||
<xsl:stylesheet version="1.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xml:output method="text" indent="yes"/> |
||||
|
||||
<xsl:template match="/"> |
||||
<xsl:for-each select="/api/query/pages/page"> |
||||
<xsl:value-of disable-output-escaping="yes" select="imageinfo/ii/@url" /> |
||||
<xsl:text> |
||||
</xsl:text> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
|
||||
|
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?> |
||||
<xsl:stylesheet version="1.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xml:output method="text" indent="yes"/> |
||||
|
||||
<xsl:template match="/"> |
||||
<xsl:for-each select="/api/query/pages/page"> |
||||
<xsl:value-of disable-output-escaping="yes" select="revisions/rev" /> |
||||
<xsl:text> |
||||
</xsl:text> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
|
||||
|
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,551 @@
@@ -0,0 +1,551 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><job> |
||||
<name>readChapters</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<job_version/> |
||||
<job_status>0</job_status> |
||||
<directory>/</directory> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/03 17:32:29.101</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/03 17:32:29.101</modified_date> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>243</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<slaveservers/> |
||||
<job-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_JOB</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_JOB</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>JOBNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>START_JOB_ENTRY</id> |
||||
<enabled>N</enabled> |
||||
<name>START_JOB_ENTRY</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</job-log-table> |
||||
<jobentry-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBENTRYNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>RESULT</id> |
||||
<enabled>Y</enabled> |
||||
<name>RESULT</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_FILES</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_FILES</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>COPY_NR</id> |
||||
<enabled>N</enabled> |
||||
<name>COPY_NR</name> |
||||
</field> |
||||
</jobentry-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<pass_batchid>N</pass_batchid> |
||||
<shared_objects_file/> |
||||
<entries> |
||||
<entry> |
||||
<name>START</name> |
||||
<description/> |
||||
<type>SPECIAL</type> |
||||
<start>Y</start> |
||||
<dummy>N</dummy> |
||||
<repeat>N</repeat> |
||||
<schedulerType>0</schedulerType> |
||||
<intervalSeconds>0</intervalSeconds> |
||||
<intervalMinutes>60</intervalMinutes> |
||||
<hour>12</hour> |
||||
<minutes>0</minutes> |
||||
<weekDay>1</weekDay> |
||||
<DayOfMonth>1</DayOfMonth> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>80</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>purge_kb_chapter</name> |
||||
<description/> |
||||
<type>SQL</type> |
||||
<sql>delete from kb_chapter |
||||
where document_id=${document_id};</sql> |
||||
<useVariableSubstitution>T</useVariableSubstitution> |
||||
<sqlfromfile>F</sqlfromfile> |
||||
<sqlfilename/> |
||||
<sendOneStatement>F</sendOneStatement> |
||||
<connection>eduetl</connection> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>208</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>readChapters</name> |
||||
<description/> |
||||
<type>TRANS</type> |
||||
<specification_method>filename</specification_method> |
||||
<trans_object_id/> |
||||
<filename>${Internal.Job.Filename.Directory}/readChapters.ktr</filename> |
||||
<transname/> |
||||
<arg_from_previous>N</arg_from_previous> |
||||
<params_from_previous>N</params_from_previous> |
||||
<exec_per_row>N</exec_per_row> |
||||
<clear_rows>N</clear_rows> |
||||
<clear_files>N</clear_files> |
||||
<set_logfile>N</set_logfile> |
||||
<logfile/> |
||||
<logext/> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<loglevel>Basic</loglevel> |
||||
<cluster>N</cluster> |
||||
<slave_server_name/> |
||||
<set_append_logfile>N</set_append_logfile> |
||||
<wait_until_finished>Y</wait_until_finished> |
||||
<follow_abort_remote>N</follow_abort_remote> |
||||
<create_parent_folder>N</create_parent_folder> |
||||
<logging_remote_work>N</logging_remote_work> |
||||
<parameters> |
||||
<pass_all_parameters>Y</pass_all_parameters> |
||||
</parameters> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>368</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>setChapterMetaData</name> |
||||
<description/> |
||||
<type>SQL</type> |
||||
<sql>update kb_chapter set sortnr=sortnr -1; |
||||
|
||||
update kb_chapter set defaulttext=(select D.defaulttext from kb_document D |
||||
where D.id=${document_id}) |
||||
where document_id=${document_id} |
||||
and ( defaulttext is null or defaulttext='') |
||||
and sortnr=0; |
||||
--get parent: |
||||
update kb_chapter set chapter_parent=(select max(C.sortnr) |
||||
from kb_chapter C |
||||
where C.document_id=${document_id} |
||||
and C.chapter_level < kb_chapter.chapter_level |
||||
and C.sortnr < kb_chapter.sortnr) |
||||
where document_id=${document_id} |
||||
and chapter_parent is null |
||||
and sortnr>0; |
||||
update kb_chapter set chapter_parent=-1 |
||||
where chapter_parent is null; |
||||
|
||||
--get next: |
||||
update kb_chapter set chapter_next=(select min(C.sortnr) |
||||
from kb_chapter C |
||||
where C.document_id=${document_id} |
||||
and C.sortnr > kb_chapter.sortnr) |
||||
where chapter_next is null |
||||
and document_id=${document_id} |
||||
; |
||||
--last Element points next to first one: |
||||
update kb_chapter set chapter_next=(select min(C.sortnr) |
||||
from kb_chapter C |
||||
where C.document_id=${document_id} |
||||
) |
||||
where chapter_next is null |
||||
and document_id=${document_id} |
||||
; |
||||
|
||||
--get prev: |
||||
update kb_chapter set chapter_previous=(select max(C.sortnr) |
||||
from kb_chapter C |
||||
where C.document_id=${document_id} |
||||
and C.sortnr < kb_chapter.sortnr) |
||||
where chapter_previous is null |
||||
and document_id=${document_id} |
||||
; |
||||
--first Element points previous to last one: |
||||
update kb_chapter set chapter_previous=(select max(C.sortnr) |
||||
from kb_chapter C |
||||
where C.document_id=${document_id} |
||||
) |
||||
where chapter_previous is null |
||||
and document_id=${document_id} |
||||
;</sql> |
||||
<useVariableSubstitution>T</useVariableSubstitution> |
||||
<sqlfromfile>F</sqlfromfile> |
||||
<sqlfilename/> |
||||
<sendOneStatement>F</sendOneStatement> |
||||
<connection>eduetl</connection> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>480</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>setFilenames</name> |
||||
<description/> |
||||
<type>TRANS</type> |
||||
<specification_method>filename</specification_method> |
||||
<trans_object_id/> |
||||
<filename>${Internal.Job.Filename.Directory}/setFilenames.ktr</filename> |
||||
<transname/> |
||||
<arg_from_previous>N</arg_from_previous> |
||||
<params_from_previous>N</params_from_previous> |
||||
<exec_per_row>N</exec_per_row> |
||||
<clear_rows>N</clear_rows> |
||||
<clear_files>N</clear_files> |
||||
<set_logfile>N</set_logfile> |
||||
<logfile/> |
||||
<logext/> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<loglevel>Basic</loglevel> |
||||
<cluster>N</cluster> |
||||
<slave_server_name/> |
||||
<set_append_logfile>N</set_append_logfile> |
||||
<wait_until_finished>Y</wait_until_finished> |
||||
<follow_abort_remote>N</follow_abort_remote> |
||||
<create_parent_folder>N</create_parent_folder> |
||||
<logging_remote_work>N</logging_remote_work> |
||||
<parameters> |
||||
<pass_all_parameters>Y</pass_all_parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<stream_name/> |
||||
<value/> |
||||
</parameter> |
||||
</parameters> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>624</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>setUniqueFilenames</name> |
||||
<description/> |
||||
<type>SQL</type> |
||||
<sql>create temp table tmp_filename(id integer, filename varchar(255)); |
||||
insert into tmp_filename (filename) select chapter_filename from kb_chapter C |
||||
where C.document_id=${document_id} |
||||
group by 1 |
||||
having count(*) >1; |
||||
update tmp_filename set id=(select min(sortnr) from kb_chapter C |
||||
where C.document_id=${document_id} |
||||
and C.chapter_filename=tmp_filename.filename); |
||||
|
||||
update kb_chapter set chapter_filename =chapter_filename || sortnr |
||||
where document_id=${document_id} |
||||
and chapter_filename in (select distinct filename from tmp_filename) |
||||
and sortnr !=(select id from tmp_filename T where T.filename= kb_chapter.chapter_filename); |
||||
|
||||
drop table tmp_filename;</sql> |
||||
<useVariableSubstitution>T</useVariableSubstitution> |
||||
<sqlfromfile>F</sqlfromfile> |
||||
<sqlfilename/> |
||||
<sendOneStatement>F</sendOneStatement> |
||||
<connection>eduetl</connection> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>784</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
</entries> |
||||
<hops> |
||||
<hop> |
||||
<from>START</from> |
||||
<to>purge_kb_chapter</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>Y</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>purge_kb_chapter</from> |
||||
<to>readChapters</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>readChapters</from> |
||||
<to>setChapterMetaData</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>setChapterMetaData</from> |
||||
<to>setFilenames</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>setFilenames</from> |
||||
<to>setUniqueFilenames</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
</hops> |
||||
<notepads/> |
||||
</job> |
@ -0,0 +1,798 @@
@@ -0,0 +1,798 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>readChapters</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>46</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/03 13:48:42.888</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/03 13:48:42.888</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getSrcXhtml</from> |
||||
<to>getContentDelim</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getContentDelim</from> |
||||
<to>SplitChapters</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>SplitChapters</from> |
||||
<to>removeWholeContent</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>removeWholeContent</from> |
||||
<to>readChapters</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>readChapters</from> |
||||
<to>kb_chapter_fuellen</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>SplitChapters</name> |
||||
<type>SplitFieldToRows3</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<splitfield>content_delim</splitfield> |
||||
<delimiter>§#^</delimiter> |
||||
<newfield>chapter</newfield> |
||||
<rownum>Y</rownum> |
||||
<rownum_field>chapter_nr</rownum_field> |
||||
<resetrownumber>Y</resetrownumber> |
||||
<delimiter_is_regex>N</delimiter_is_regex> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>448</xloc> |
||||
<yloc>96</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getContentDelim</name> |
||||
<type>ScriptValueMod</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<compatible>N</compatible> |
||||
<optimizationLevel>9</optimizationLevel> |
||||
<jsScripts> |
||||
<jsScript> |
||||
<jsScript_type>0</jsScript_type> |
||||
<jsScript_name>Script 1</jsScript_name> |
||||
<jsScript_script>//Script here |
||||
|
||||
var lines = content_xhtml.split(/\n/); |
||||
var rownr = lines.length; |
||||
var startTag=""; |
||||
var ret=""; |
||||
for(var i=0;i<rownr;i++) |
||||
{ |
||||
startTag=lines[i].substr(0,2); |
||||
if(startTag=="<h") |
||||
{ |
||||
ret += "§#^" +lines[i]+"\n"; |
||||
|
||||
} |
||||
else |
||||
ret +=lines[i]+"\n"; |
||||
} |
||||
</jsScript_script> |
||||
</jsScript> |
||||
</jsScripts> |
||||
<fields> |
||||
<field> |
||||
<name>ret</name> |
||||
<rename>content_delim</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>272</xloc> |
||||
<yloc>96</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getSrcXhtml</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select id as document_id, defaulttext ,content_xhtml from kb_document where id =${document_id};</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>112</xloc> |
||||
<yloc>96</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>kb_chapter_fuellen</name> |
||||
<type>TableOutput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<schema/> |
||||
<table>kb_chapter</table> |
||||
<commit>1000</commit> |
||||
<truncate>N</truncate> |
||||
<ignore_errors>N</ignore_errors> |
||||
<use_batch>Y</use_batch> |
||||
<specify_fields>Y</specify_fields> |
||||
<partitioning_enabled>N</partitioning_enabled> |
||||
<partitioning_field/> |
||||
<partitioning_daily>N</partitioning_daily> |
||||
<partitioning_monthly>Y</partitioning_monthly> |
||||
<tablename_in_field>N</tablename_in_field> |
||||
<tablename_field/> |
||||
<tablename_in_table>Y</tablename_in_table> |
||||
<return_keys>N</return_keys> |
||||
<return_field/> |
||||
<fields> |
||||
<field> |
||||
<column_name>document_id</column_name> |
||||
<stream_name>document_id</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>sortnr</column_name> |
||||
<stream_name>chapter_nr</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>chapter_level</column_name> |
||||
<stream_name>chapter_level</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>defaulttext</column_name> |
||||
<stream_name>chapter_defaulttext</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>chapter_bodytext</column_name> |
||||
<stream_name>chapter_bodytext</stream_name> |
||||
</field> |
||||
<field> |
||||
<column_name>chapter_bodytextsummary</column_name> |
||||
<stream_name>chapter_bodytextsummary</stream_name> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>112</xloc> |
||||
<yloc>208</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>readChapters</name> |
||||
<type>ScriptValueMod</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<compatible>N</compatible> |
||||
<optimizationLevel>9</optimizationLevel> |
||||
<jsScripts> |
||||
<jsScript> |
||||
<jsScript_type>0</jsScript_type> |
||||
<jsScript_name>Script 1</jsScript_name> |
||||
<jsScript_script>//Script here |
||||
|
||||
var transformationPath = getVariable("Internal.Transformation.Filename.Directory", ""); |
||||
var jsScriptPath = transformationPath + "/../xml2html/httools.js"; |
||||
LoadScriptFile(jsScriptPath); |
||||
var chapter_defaulttext=""; |
||||
var lines = chapter.split(/\n/); |
||||
var rownr = lines.length; |
||||
var startTag=""; |
||||
var bodyText=""; |
||||
var bodyTextSummary=""; |
||||
var chapter_level=0; |
||||
|
||||
var ret=""; |
||||
for(var i=0;i<rownr;i++) |
||||
{ |
||||
startTag=lines[i].substr(0,2); |
||||
if(startTag=="<h") |
||||
{ |
||||
chapter_level=parseInt(getChapterLevel(lines[i])); |
||||
chapter_defaulttext=getChapterName(lines[i],chapter_level); |
||||
|
||||
} |
||||
else |
||||
{ |
||||
if(chapter_nr=="1") |
||||
chapter_defaulttext= defaulttext; |
||||
|
||||
bodyText +=lines[i]+"\n"; |
||||
} |
||||
} |
||||
|
||||
bodyTextSummary=chapter_defaulttext+"."+ bodyTextStripped(bodyText); |
||||
|
||||
|
||||
</jsScript_script> |
||||
</jsScript> |
||||
</jsScripts> |
||||
<fields> |
||||
<field> |
||||
<name>chapter_defaulttext</name> |
||||
<rename>chapter_defaulttext</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>chapter_level</name> |
||||
<rename>chapter_level</rename> |
||||
<type>Integer</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>bodyText</name> |
||||
<rename>chapter_bodytext</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>bodyTextSummary</name> |
||||
<rename>chapter_bodytextsummary</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>736</xloc> |
||||
<yloc>96</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>removeWholeContent</name> |
||||
<type>SelectValues</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<fields> |
||||
<field> |
||||
<name>defaulttext</name> |
||||
</field> |
||||
<field> |
||||
<name>chapter_nr</name> |
||||
</field> |
||||
<field> |
||||
<name>chapter</name> |
||||
</field> |
||||
<field> |
||||
<name>document_id</name> |
||||
</field> |
||||
<field> |
||||
<name>content_delim</name> |
||||
</field> |
||||
<field> |
||||
<name>content_xhtml</name> |
||||
</field> |
||||
<select_unspecified>N</select_unspecified> |
||||
<remove> |
||||
<name>content_delim</name> |
||||
</remove> |
||||
<remove> |
||||
<name>content_xhtml</name> |
||||
</remove> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>576</xloc> |
||||
<yloc>96</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,580 @@
@@ -0,0 +1,580 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>setFilenames</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>243</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/03 21:21:10.720</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/03 21:21:10.720</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getChapters</from> |
||||
<to>getFilenames</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getFilenames</from> |
||||
<to>setFilenames</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>getChapters</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select C.id,C.defaulttext as chapter_defaulttext,C.sortnr, C.chapter_level,C.chapter_parent, C.chapter_previous, C.chapter_next |
||||
from kb_chapter C, kb_document D |
||||
where D.id=C.document_id |
||||
and D.id=${document_id} |
||||
order by sortnr;</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>112</xloc> |
||||
<yloc>64</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getFilenames</name> |
||||
<type>ScriptValueMod</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<compatible>N</compatible> |
||||
<optimizationLevel>9</optimizationLevel> |
||||
<jsScripts> |
||||
<jsScript> |
||||
<jsScript_type>0</jsScript_type> |
||||
<jsScript_name>Script 1</jsScript_name> |
||||
<jsScript_script>//Script here |
||||
|
||||
var transformationPath = getVariable("Internal.Transformation.Filename.Directory", ""); |
||||
var jsScriptPath = transformationPath + "/../xml2html/httools.js"; |
||||
LoadScriptFile(jsScriptPath); |
||||
var chapter_filename=validHtmlFileName(chapter_defaulttext); |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</jsScript_script> |
||||
</jsScript> |
||||
</jsScripts> |
||||
<fields> |
||||
<field> |
||||
<name>chapter_filename</name> |
||||
<rename>chapter_filename</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>112</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>setFilenames</name> |
||||
<type>Update</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<skip_lookup>N</skip_lookup> |
||||
<commit>100</commit> |
||||
<use_batch>N</use_batch> |
||||
<error_ignored>N</error_ignored> |
||||
<ignore_flag_field/> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_chapter</table> |
||||
<key> |
||||
<name>id</name> |
||||
<field>id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>chapter_filename</name> |
||||
<rename>chapter_filename</rename> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>128</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,517 @@
@@ -0,0 +1,517 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>set_variables</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>76</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>Y</unique_connections> |
||||
<feedback_shown>N</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2015/11/11 09:49:00.397</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2015/11/11 09:49:00.397</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>authentication_method</from> |
||||
<to>Set Variables</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>Set Variables</name> |
||||
<type>SetVariable</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<fields> |
||||
<field> |
||||
<field_name>authentication_method</field_name> |
||||
<variable_name>authentication_method</variable_name> |
||||
<variable_type>JVM</variable_type> |
||||
<default_value>-1</default_value> |
||||
</field> |
||||
<field> |
||||
<field_name>src_title</field_name> |
||||
<variable_name>src_title</variable_name> |
||||
<variable_type>JVM</variable_type> |
||||
<default_value/> |
||||
</field> |
||||
</fields> |
||||
<use_formatting>Y</use_formatting> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>272</xloc> |
||||
<yloc>64</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>authentication_method</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select replace(S.src_title,' ','_') as src_title,W.authentication_method |
||||
from kb_document_source S, kb_webconnection W |
||||
where W.id=S.webconnection_id |
||||
and S.document_id=${document_id}</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>96</xloc> |
||||
<yloc>64</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,188 @@
@@ -0,0 +1,188 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" /> |
||||
<xsl:param name="pdf_file" /> |
||||
<xsl:output method="html" name="html"/> |
||||
|
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="bodyfile" select="concat($targetpath,'/',fileName,'.htm')"/> |
||||
<xsl:variable name="deeplinkpath" select="concat('http://www.superx-projekt.de',substring-after($targetpath,'webapps/superx'))"/> |
||||
|
||||
Generiere <xsl:value-of select="$bodyfile"/> in <xsl:value-of select="$targetpath"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$bodyfile}" format="html" |
||||
method="html"> |
||||
<xsl:variable name="prev"> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@prev" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="next"> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@next" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<html> |
||||
<head><title><xsl:value-of select="name"/></title> |
||||
<META NAME = "author" content = "Daniel Quathamer"></META> |
||||
<META NAME = "copyright" content = "{concat('(c) ',format-dateTime(current-dateTime(),'[Y]'),' Daniel Quathamer')}"></META> |
||||
<META NAME = "date" content ="{format-dateTime(current-dateTime(),'[D].[M].[Y]')}"></META> |
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
||||
<LINK REL = "Start" href = "main.htm"></LINK> |
||||
<LINK REL = "Next" href="{$next}" /> |
||||
<LINK REL = "Prev" href="{$prev}" /> |
||||
<LINK REL = "Fokus" href="{$deeplinkpath}"/> |
||||
<style type="text/css"><xsl:text> |
||||
</xsl:text> |
||||
<xsl:value-of select="/Document/style"/> |
||||
</style> |
||||
<LINK REL="stylesheet" type="text/css" href="superx.css"></LINK> |
||||
<base target="_parent" /> |
||||
</head> |
||||
<body> |
||||
<!--andre: hier navi-template aufrufen--> |
||||
<xsl:variable name="header_tagname"> |
||||
<xsl:choose> |
||||
<xsl:when test="@level=0"> |
||||
<xsl:text>h1</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="concat('h',@level)"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:element name="{$header_tagname}"><xsl:if test="chapterNumber != ''"><span class="chapterNumber"> |
||||
<xsl:value-of select="chapterNumber"/></span><xsl:text> </xsl:text></xsl:if> |
||||
<xsl:value-of select="name"/></xsl:element> |
||||
<xsl:variable name="bodyText"> |
||||
<xsl:value-of select="body"/> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$bodyText='#empty#'"> |
||||
<xsl:variable name="currentId"> |
||||
<xsl:value-of select="@id"/> |
||||
</xsl:variable> |
||||
<xsl:for-each select="/Document/chapter[@parent=$currentId]"> |
||||
<p><xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@id" /> |
||||
<xsl:with-param name="caption" select="name" /> |
||||
</xsl:call-template> |
||||
</p> |
||||
</xsl:for-each> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:copy-of select="$bodyText"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
<div id="navi" class="navi" style="POSITION: relative;"> |
||||
<table border = "0" width = "100%"><tr> |
||||
<!--prev--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@prev" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_previous.svg'" /> |
||||
<xsl:with-param name="caption" select="'Vorherige'" /> |
||||
</xsl:call-template> |
||||
<!--Hoch--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="0" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_up.svg'" /> |
||||
<xsl:with-param name="caption" select="'Hoch'" /> |
||||
</xsl:call-template> |
||||
<!--Search--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetHref"><xsl:text>javascript:document.location=('search/index.htm');</xsl:text></xsl:with-param> |
||||
<xsl:with-param name="imgSrc" select="'resultset_search.svg'" /> |
||||
<xsl:with-param name="caption" select="'Suche'" /> |
||||
<xsl:with-param name="target" select="'_self'" /> |
||||
</xsl:call-template> |
||||
<!--next--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@next" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_next.svg'" /> |
||||
<xsl:with-param name="caption" select="'Nächste'" /> |
||||
</xsl:call-template> |
||||
|
||||
</tr> |
||||
</table> |
||||
</div> |
||||
<xsl:variable name="fokus"><xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@id" /> |
||||
</xsl:call-template></xsl:variable> |
||||
<xsl:call-template name="body_foot" > |
||||
<xsl:with-param name="pdf_file" select="$pdf_file" /> |
||||
<xsl:with-param name="fokus" select="concat('#targetpath#/',$fokus)" /> |
||||
</xsl:call-template> |
||||
</body> |
||||
</html> |
||||
</xsl:result-document> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getFilename"> |
||||
<xsl:param name="id" /> |
||||
<xsl:value-of select="concat('f_',/Document/chapter[@id=$id]/fileName,'.htm')"/> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getName"> |
||||
<xsl:param name="id" /> |
||||
<xsl:value-of select="/Document/chapter[@id=$id]/name"/> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="navigationButton"> |
||||
<xsl:param name="targetChapterId" /> |
||||
<xsl:param name="imgSrc" /> |
||||
<xsl:param name="caption" /> |
||||
<xsl:param name="targetHref" /> |
||||
<xsl:param name="target" select="'_parent'"/> |
||||
<xsl:variable name="targetUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="$targetHref != ''"> |
||||
<xsl:value-of select="$targetHref"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="$targetChapterId" /> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:variable name="targetName"> |
||||
<xsl:choose> |
||||
<xsl:when test="string($targetChapterId) != '' "> |
||||
<xsl:call-template name="getName"> |
||||
<xsl:with-param name="id" select="$targetChapterId" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$caption"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$imgSrc=''"> |
||||
<a name="{$caption}" href = "{$targetUrl}" target = "{$target}" class = "Navigation" |
||||
title="{$targetName}" onMouseOver="this.style.textDecoration='underline';" |
||||
onMouseOut=" this.style.textDecoration='none';"><xsl:value-of select="$caption" /></a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<td class = "navi"><a name="{$caption}" href = "{$targetUrl}" |
||||
target = "{$target}" |
||||
class = "Navigation" |
||||
title="{$targetName}" onMouseOver="this.style.textDecoration='underline';" |
||||
onMouseOut=" this.style.textDecoration='none';"> |
||||
<IMG src="{$imgSrc}" ALT="{$targetName}" border="0" /></a> |
||||
<br /> |
||||
<a name="{$caption}" href = "{$targetUrl}" target = "{$target}" class = "Navigation" |
||||
title="{$targetName}" onMouseOver="this.style.textDecoration='underline';" |
||||
onMouseOut=" this.style.textDecoration='none';"><xsl:value-of select="$caption" /></a></td> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" /> |
||||
<xsl:param name="homepage" /> |
||||
<xsl:output method="html" name="html"/> |
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<!-- each Chapter --> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:call-template name="framefileContent"> |
||||
<xsl:with-param name="framefile" select="concat($targetpath,'/f_',fileName,'.htm')"/> |
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
<!--homepage--> |
||||
<xsl:for-each select="/Document/chapter [@id='0']"> |
||||
<xsl:call-template name="framefileContent"> |
||||
<xsl:with-param name="framefile" select="$homepage"/> |
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
<xsl:template name="framefileContent"> |
||||
<xsl:param name="framefile" /> |
||||
Generiere <xsl:value-of select="$framefile"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$framefile}" format="html" |
||||
method="html"> |
||||
<html> |
||||
<head><title><xsl:value-of select="name"/></title> |
||||
<META NAME = "author" content = "Daniel Quathamer"></META> |
||||
<META NAME = "copyright" content = "(c) 2010 Daniel Quathamer"></META> |
||||
<META NAME = "date" content ="10.08.2010 11:13:22"></META> |
||||
<LINK REL = "Start" href = "main.htm"></LINK> |
||||
<LINK REL = "Next" href = "DasBerichtssystemSup.htm "></LINK> |
||||
<LINK REL = "Prev" href = "DasBerichtssystemSup.htm "></LINK> |
||||
<LINK REL="stylesheet" type="text/css" href="superx.css"></LINK> |
||||
</head> |
||||
<frameset rows="30,*" framespacing="0" border="0"> |
||||
<frame src="{concat('TOP0_',@id,'.htm')}" name = "{concat('TOP',@id)}" scrolling="no" frameborder="0" noresize="1"> |
||||
<frameset cols = "250,*" > |
||||
<frame src="{concat('TOC0_',@id,'.htm')}" name = "{concat('TOC',@id)}" /> |
||||
<frame src="{concat(fileName,'.htm')}" name = "TOC1" /> |
||||
</frameset> |
||||
</frame> |
||||
</frameset> |
||||
<noframes>Diese Seiten wurden fuer Frame-faehige Browser entwickelt; bitte klicken Sie folgende Datei an: <a href="{concat(fileName,'.htm')}"><xsl:value-of select="name" /></a> |
||||
</noframes> |
||||
</html> |
||||
</xsl:result-document> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,310 @@
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" /> |
||||
<xsl:output method="html" name="html"/> |
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="tocfile" select="concat($targetpath,'/TOC0_',@id,'.htm')"/> |
||||
Generiere <xsl:value-of select="$tocfile"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$tocfile}" format="html" |
||||
method="html"> |
||||
<html> |
||||
<head> |
||||
<LINK REL="stylesheet" type="text/css" href="toc.css"></LINK> |
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
||||
</head> |
||||
|
||||
|
||||
<body> |
||||
<xsl:call-template name="toc_head" /> |
||||
<xsl:call-template name="createToc" > |
||||
<xsl:with-param name="currentFocus" select="@id" /> |
||||
</xsl:call-template> |
||||
<xsl:call-template name="toc_foot" /> |
||||
</body> |
||||
</html> |
||||
</xsl:result-document> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="createToc"> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="p_class"> |
||||
<xsl:choose> |
||||
<xsl:when test="@id=$currentFocus"> |
||||
<xsl:text>Fokus</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text>listlevel</xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:variable name="a_class"> |
||||
<xsl:choose> |
||||
<xsl:when test="@id=$currentFocus"> |
||||
<xsl:text>fokus</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text></xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
|
||||
<xsl:variable name="isVisible"> |
||||
<xsl:call-template name="isVisibleTocEntry"> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
<xsl:with-param name="targetChapter" select="@id"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:if test="contains($isVisible,'true')"> |
||||
<p><xsl:attribute name="class"><xsl:value-of select="$p_class" /><xsl:value-of select="@level" /></xsl:attribute> |
||||
<a target="_parent" class="{$a_class}"> |
||||
<xsl:attribute name="href"><xsl:value-of select="concat('f_',fileName,'.htm')" /></xsl:attribute><xsl:if test="chapterNumber != ''"><span class="chapterNumber"> |
||||
<xsl:value-of select="chapterNumber"/></span><xsl:text> </xsl:text></xsl:if><xsl:value-of select="shortName"/> |
||||
<!--zum debuggen: <xsl:value-of select="$isVisible" />--> |
||||
</a> </p> |
||||
</xsl:if> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="isVisibleTocEntry"> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:choose> |
||||
<xsl:when test="$currentFocus=$targetChapter"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<!--die Zielknoten auf Ebene 1 kommen immer rein--> |
||||
<xsl:variable name="levelofTargetChapter"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<!--die Zielknoten liegen direkt unter dem Fokus?--> |
||||
<xsl:variable name="parentofTargetChapter"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$parentofTargetChapter=$currentFocus or $levelofTargetChapter='1'"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<!--der targetChapter ist ein parent von currentFocus?--> |
||||
<xsl:call-template name="getParentOfCurrentFocus"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
<xsl:with-param name="numberOfCalls" select="0"/> |
||||
|
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getParentOfCurrentFocus"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:param name="numberOfCalls" /> |
||||
<xsl:variable name="parentOfCurrentFocus"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="parentOfTargetChapter"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<!--entweder das Zielkapitel ist direkt übergeordnet, oder |
||||
der parent des akt. Fokus ist identisch mit dem parent des Zielkapitels--> |
||||
<xsl:when test="$parentOfCurrentFocus=$targetChapter or ($parentOfCurrentFocus=$parentOfTargetChapter and $numberOfCalls < 2)"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:when test="$parentOfCurrentFocus=-1"> |
||||
<xsl:text>false</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:call-template name="getParentOfCurrentFocus"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$parentOfCurrentFocus"/> |
||||
<xsl:with-param name="numberOfCalls" select="$numberOfCalls+1"/> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:template name="getLevel"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:value-of select="/Document/chapter [@id=$targetChapter]/@level"/> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="getParent"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:value-of select="/Document/chapter [@id=$targetChapter]/@parent"/> |
||||
|
||||
</xsl:template> |
||||
|
||||
<!--klappt noch nicht: |
||||
<xsl:template name="computeDistance"> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:choose> |
||||
<xsl:when test="$currentFocus=$targetChapter"> |
||||
<xsl:text>0</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:variable name="levelFrom"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="levelTo"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$levelFrom > $levelTo"> |
||||
<xsl:text>goUp: </xsl:text> |
||||
<xsl:call-template name="stepUpCurrentFocus"> |
||||
<xsl:with-param name="counter" select="1" /> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
|
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text>goDown</xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
|
||||
</xsl:template> |
||||
<xsl:template name="stepUpCurrentFocus"> |
||||
<xsl:param name="counter"/> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:variable name="parentOfCurrentFocus"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$parentOfCurrentFocus=$targetChapter or $parentOfCurrentFocus='-1'"> |
||||
<xsl:value-of select="concat(' currFocus ',$parentOfCurrentFocus,'_',$counter)"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
|
||||
<xsl:variable name="levelFrom"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$parentOfCurrentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="levelTo"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$levelTo > $levelFrom "> |
||||
<xsl:variable name="parent"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="stepUpTargetChapter"> |
||||
<xsl:with-param name="counter" select="$counter+1" /> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
<xsl:with-param name="currentFocus" select="$parent" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:variable name="parent"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$parentOfCurrentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="stepUpCurrentFocus"> |
||||
<xsl:with-param name="counter" select="$counter+1" /> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$parent" /> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:template name="stepUpTargetChapter"> |
||||
<xsl:param name="counter"/> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:variable name="parentOfTargetChapter"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$parentOfTargetChapter=$currentFocus or $parentOfTargetChapter='-1'"> |
||||
<xsl:value-of select="concat(' TargetChapter ',$currentFocus,'_',$counter)"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
|
||||
<xsl:variable name="levelFrom"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$parentOfTargetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="levelTo"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$levelTo > $levelFrom "> |
||||
<xsl:variable name="parent"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="stepUpTargetChapter"> |
||||
<xsl:with-param name="counter" select="$counter+1" /> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
<xsl:with-param name="currentFocus" select="$parent" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:variable name="parent"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$parentOfTargetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="stepUpCurrentFocus"> |
||||
<xsl:with-param name="counter" select="$counter+1" /> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$parent" /> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template>--> |
||||
</xsl:stylesheet> |
@ -0,0 +1,64 @@
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" select="'/home/superx/tmp/tt'"/> |
||||
<xsl:output method="html" name="html"/> |
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="topfile" select="concat($targetpath,'/TOP0_',@id,'.htm')"/> |
||||
Generiere <xsl:value-of select="$topfile"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$topfile}" format="html" |
||||
method="html"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<html lang="de" dir="ltr"> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<title><xsl:value-of select="name"/></title> |
||||
<link rel="stylesheet" href="shared.css" media="screen" /> |
||||
<link rel="stylesheet" href="main.css" media="screen" /> |
||||
<link rel="stylesheet" href="BreadCrumbs.css" /> |
||||
</head> |
||||
<body class="mediawiki ltr capitalize-all-nouns ns-0 ns-subject page-SuperX_BW_Leitfaden_Inhalt_Lehre_Studium skin-modern"> |
||||
|
||||
<!-- heading --> |
||||
<div id="mw_header"><h1 id="firstHeading"><xsl:value-of select="name"/></h1></div> |
||||
|
||||
<div id="mw_main"> |
||||
<div id="mw_contentwrapper"> |
||||
<!-- navigation portlet --> |
||||
|
||||
<div id="p-cactions" class="portlet"> |
||||
<h5>Ansichten</h5> |
||||
<div class="pBody"> |
||||
<ul> |
||||
|
||||
<li><p>.</p></li> |
||||
<li><p>.</p></li> |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
</body> |
||||
</html> |
||||
|
||||
|
||||
|
||||
</xsl:result-document> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
|
||||
|
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,486 @@
@@ -0,0 +1,486 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>transform_document_link</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>link_target</name> |
||||
<default_value/> |
||||
<description/> |
||||
</parameter> |
||||
<parameter> |
||||
<name>linked_document_title_2</name> |
||||
<default_value/> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/02 18:28:17.625</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/02 18:28:17.625</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order/> |
||||
<step> |
||||
<name>Execute SQL script</name> |
||||
<type>ExecSQL</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<execute_each_row>N</execute_each_row> |
||||
<single_statement>N</single_statement> |
||||
<replace_variables>Y</replace_variables> |
||||
<quoteString>N</quoteString> |
||||
<sql>update kb_document set content_xhtml=replace(content_xhtml,'"${link_target}"','"${linked_document_title_2}"') |
||||
where 1=1; |
||||
update kb_document set content_xhtml=replace(content_xhtml,'<href>${link_target}</href>','<href>${linked_document_title_2}</href>') |
||||
where 1=1; |
||||
update kb_document set content_xhtml=replace(content_xhtml,'<paramName>link</paramName><paramValue>${link_target}</paramValue>','<paramName>link</paramName><paramValue>${linked_document_title_2}</paramValue>') |
||||
where 1=1;</sql> |
||||
<set_params>N</set_params> |
||||
<insert_field/> |
||||
<update_field/> |
||||
<delete_field/> |
||||
<read_field/> |
||||
<arguments/> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>160</xloc> |
||||
<yloc>96</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,878 @@
@@ -0,0 +1,878 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>transform_document_links</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>183</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/02 17:58:53.411</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/02 17:58:53.411</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getInternalLinks</from> |
||||
<to>getlinkedDocumentID</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getlinkedDocumentID</from> |
||||
<to>getLinkedDocumentTitle</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>linksChangedFlag</from> |
||||
<to>PrepareReplace</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getLinkedDocumentTitle</from> |
||||
<to>getOutputProjectId</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getOutputProjectId</from> |
||||
<to>getOutputProjectPath</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getOutputProjectPath</from> |
||||
<to>getOutputProjectChapterFilename</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getOutputProjectChapterFilename</from> |
||||
<to>linksChangedFlag</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>PrepareReplace</name> |
||||
<type>RowsToResult</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>1024</xloc> |
||||
<yloc>128</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getInternalLinks</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select S.id,S.document_id,S.src_title as document_source_title, L.link_target,replace(L.link_chapter,'_',' ') as link_chapter,S.src_url |
||||
from kb_document D, kb_document_source S, kb_document_source_link L, kb_webconnection W |
||||
where D.id=S.document_id |
||||
and S.id=L.kb_document_source_id |
||||
and W.id=S.webconnection_id |
||||
and L.link_type in ('link') |
||||
and S.document_id=${document_id}; |
||||
</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>197</xloc> |
||||
<yloc>93</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getLinkedDocumentTitle</name> |
||||
<type>DBLookup</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<cache>N</cache> |
||||
<cache_load_all>N</cache_load_all> |
||||
<cache_size>0</cache_size> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_document</table> |
||||
<orderby/> |
||||
<fail_on_multiple>N</fail_on_multiple> |
||||
<eat_row_on_failure>N</eat_row_on_failure> |
||||
<key> |
||||
<name>linked_document_id</name> |
||||
<field>id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>defaulttext</name> |
||||
<rename>linked_document_title</rename> |
||||
<default/> |
||||
<type>String</type> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>256</xloc> |
||||
<yloc>304</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getOutputProjectChapterFilename</name> |
||||
<type>DBLookup</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<cache>N</cache> |
||||
<cache_load_all>N</cache_load_all> |
||||
<cache_size>0</cache_size> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_chapter</table> |
||||
<orderby/> |
||||
<fail_on_multiple>N</fail_on_multiple> |
||||
<eat_row_on_failure>N</eat_row_on_failure> |
||||
<key> |
||||
<name>linked_document_id</name> |
||||
<field>document_id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<key> |
||||
<name>link_chapter</name> |
||||
<field>defaulttext</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>chapter_filename</name> |
||||
<rename>chapter_filename</rename> |
||||
<default/> |
||||
<type>None</type> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>736</xloc> |
||||
<yloc>368</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getOutputProjectId</name> |
||||
<type>DBLookup</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<cache>N</cache> |
||||
<cache_load_all>N</cache_load_all> |
||||
<cache_size>0</cache_size> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_output_project_part</table> |
||||
<orderby/> |
||||
<fail_on_multiple>N</fail_on_multiple> |
||||
<eat_row_on_failure>N</eat_row_on_failure> |
||||
<key> |
||||
<name>linked_document_id</name> |
||||
<field>src_document_id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>output_project_id</name> |
||||
<rename>output_project_id</rename> |
||||
<default/> |
||||
<type>None</type> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>400</xloc> |
||||
<yloc>368</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getOutputProjectPath</name> |
||||
<type>DBLookup</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<cache>N</cache> |
||||
<cache_load_all>N</cache_load_all> |
||||
<cache_size>0</cache_size> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_output_project</table> |
||||
<orderby/> |
||||
<fail_on_multiple>N</fail_on_multiple> |
||||
<eat_row_on_failure>N</eat_row_on_failure> |
||||
<key> |
||||
<name>output_project_id</name> |
||||
<field>id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>target_server</name> |
||||
<rename>target_server</rename> |
||||
<default/> |
||||
<type>String</type> |
||||
</value> |
||||
<value> |
||||
<name>document_root</name> |
||||
<rename>document_root</rename> |
||||
<default/> |
||||
<type>String</type> |
||||
</value> |
||||
<value> |
||||
<name>target_path</name> |
||||
<rename>target_path</rename> |
||||
<default/> |
||||
<type>String</type> |
||||
</value> |
||||
<value> |
||||
<name>homepage</name> |
||||
<rename>homepage</rename> |
||||
<default/> |
||||
<type>String</type> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>544</xloc> |
||||
<yloc>368</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getlinkedDocumentID</name> |
||||
<type>DBLookup</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<cache>N</cache> |
||||
<cache_load_all>N</cache_load_all> |
||||
<cache_size>0</cache_size> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_document_source</table> |
||||
<orderby/> |
||||
<fail_on_multiple>N</fail_on_multiple> |
||||
<eat_row_on_failure>N</eat_row_on_failure> |
||||
<key> |
||||
<name>link_target</name> |
||||
<field>src_title</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>document_id</name> |
||||
<rename>linked_document_id</rename> |
||||
<default/> |
||||
<type>Integer</type> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>208</xloc> |
||||
<yloc>208</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>linksChangedFlag</name> |
||||
<type>ScriptValueMod</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<compatible>N</compatible> |
||||
<optimizationLevel>9</optimizationLevel> |
||||
<jsScripts> |
||||
<jsScript> |
||||
<jsScript_type>0</jsScript_type> |
||||
<jsScript_name>Script 1</jsScript_name> |
||||
<jsScript_script>//Script here |
||||
var transformationPath = getVariable("Internal.Transformation.Filename.Directory", ""); |
||||
var jsScriptPath = transformationPath + "/mwtools.js"; |
||||
LoadScriptFile(jsScriptPath); |
||||
|
||||
var linked_document_title_2=""; |
||||
var linkChanged=1; |
||||
if(!linked_document_title || linked_document_title=="") |
||||
{ |
||||
linked_document_title_2=src_url.replace(document_source_title,link_target); |
||||
linkChanged=0; |
||||
} |
||||
else { |
||||
var outpath=target_server; |
||||
if(document_root!="") |
||||
outpath+="/"+document_root; |
||||
if(target_path!="") |
||||
outpath+="/"+target_path; |
||||
|
||||
if(outpath && outpath !="") |
||||
{ |
||||
//wenn output Projekt exisitiert, wird darauf verlinkt: |
||||
//zuerst prüfen ob auch chapter verlinkt ist: |
||||
if(chapter_filename && chapter_filename !="") |
||||
{ |
||||
linked_document_title_2=outpath+"/f_"+chapter_filename+".htm"; |
||||
link_target+="#"+mwName2Link(link_chapter); |
||||
} |
||||
else |
||||
//wenn nicht, dann hoempage: |
||||
linked_document_title_2=outpath+"/"+homepage; |
||||
} |
||||
else{ |
||||
//wenn nicht wird einfach Titel ausgegeben, ggf. noch Warnung, dass man für Dokument noch Ausgabeprojet anlegen muss? |
||||
linked_document_title_2=linked_document_title; |
||||
} |
||||
} </jsScript_script> |
||||
</jsScript> |
||||
</jsScripts> |
||||
<fields> |
||||
<field> |
||||
<name>linked_document_title_2</name> |
||||
<rename>linked_document_title_2</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>linkChanged</name> |
||||
<rename>linkChanged</rename> |
||||
<type>Integer</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>link_target</name> |
||||
<rename>link_target</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>Y</replace> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>928</xloc> |
||||
<yloc>336</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,932 @@
@@ -0,0 +1,932 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>wiki2xhtml</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>68</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2017/08/22 11:23:11.075</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2017/08/22 11:23:11.075</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>wiki2html</from> |
||||
<to>Update src_xml</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>getSrcTitle</from> |
||||
<to>DownloadSrc</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>saveSrc</from> |
||||
<to>Block this step until steps finish</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>Block this step until steps finish</from> |
||||
<to>wiki2html</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>DownloadSrc</from> |
||||
<to>save src_api_xml</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>save src_api_xml</from> |
||||
<to>apiDownload2src</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>apiDownload2src</from> |
||||
<to>saveSrc</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>Block this step until steps finish</name> |
||||
<type>BlockUntilStepsFinish</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<steps> |
||||
<step> |
||||
<name>saveSrc</name> |
||||
<CopyNr>0</CopyNr> |
||||
</step> |
||||
</steps> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>384</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>DownloadSrc</name> |
||||
<type>UserDefinedJavaClass</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<definitions> |
||||
<definition> |
||||
<class_type>TRANSFORM_CLASS</class_type> |
||||
<class_name>Processor</class_name> |
||||
<class_source>import org.apache.commons.httpclient.Cookie; |
||||
import org.apache.commons.httpclient.HttpClient; |
||||
import org.apache.commons.httpclient.HttpException; |
||||
import org.apache.commons.httpclient.HttpState; |
||||
import org.apache.commons.httpclient.NameValuePair; |
||||
import org.apache.commons.httpclient.cookie.CookiePolicy; |
||||
import org.apache.commons.httpclient.methods.GetMethod; |
||||
import org.apache.commons.httpclient.methods.PostMethod; |
||||
import java.io.InputStream; |
||||
import java.io.IOException; |
||||
import java.net.URLEncoder; |
||||
|
||||
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws java.io.IOException,KettleException { |
||||
|
||||
Object[] r = getRow(); |
||||
if (r == null) { |
||||
setOutputDone(); |
||||
return false; |
||||
} |
||||
|
||||
String host=get(Fields.In, "hostname").getString(r);// e.g."wiki.his.de"; |
||||
String api_path=get(Fields.In, "api_path").getString(r);// e.g."wiki.his.de"; |
||||
String cookieName=get(Fields.In, "cookie_name").getString(r); //"wikidb_session"; |
||||
String cookieValue=get(Fields.In, "cookie_value").getString(r);//"dr1brbd7saa7jismgsk2a3cf80"; //getParameter("cookie"); |
||||
|
||||
String title= get(Fields.In, "src_title").getString(r); |
||||
try{ |
||||
title=URLEncoder.encode(title, "UTF-8"); |
||||
} |
||||
catch (Exception e) { |
||||
} |
||||
String strURL="https://"+host+"/"+api_path+"/api.php?action=query&titles="+title+"&prop=revisions&rvprop=content&format=xml"; |
||||
HttpState initialState = null; |
||||
initialState = authenticateWithCookie(host, cookieName, cookieValue); |
||||
Object[] outputRow = createOutputRow(r, data.outputRowMeta.size()); |
||||
String responseBody =""; |
||||
//try { |
||||
responseBody = getPageContent(strURL, initialState); |
||||
|
||||
//} catch (HttpException e) { |
||||
// TODO Auto-generated catch block |
||||
//get(Fields.Out, "src_text").setValue(outputRow,"Nicht lesbar: "+ strURL); |
||||
// e.printStackTrace(); |
||||
// } catch (IOException e) { |
||||
// TODO Auto-generated catch block |
||||
//get(Fields.Out, "src_text").setValue(outputRow,"Nicht lesbar: "+ strURL); |
||||
// e.printStackTrace(); |
||||
// } |
||||
|
||||
get(Fields.Out, "src_api_xml").setValue(outputRow, responseBody); |
||||
|
||||
putRow(data.outputRowMeta, outputRow); |
||||
return true; |
||||
} |
||||
public static HttpState authenticateWithCookie(String host, String cookieName, String cookieValue) { |
||||
HttpState initialState = new HttpState(); |
||||
if(cookieName != null){ |
||||
Cookie mycookie = new Cookie(host, cookieName, cookieValue, "/", null, false); |
||||
initialState.addCookie(mycookie); |
||||
} |
||||
return initialState; |
||||
} |
||||
public static String getPageContent(String strURL, HttpState initialState) throws IOException, HttpException { |
||||
|
||||
int c; |
||||
String responseBodyString=""; |
||||
HttpClient httpclient = new HttpClient(); |
||||
httpclient.getHttpConnectionManager(). |
||||
getParams().setConnectionTimeout(30000); |
||||
httpclient.setState(initialState); |
||||
|
||||
httpclient.getParams().setCookiePolicy(CookiePolicy.RFC_2109); |
||||
GetMethod httpget = new GetMethod(strURL); |
||||
httpget.addRequestHeader("Content-Type","text/xml; charset=UTF-8"); |
||||
// Execute HTTP GET |
||||
//der Inhalt steht in textarea id=wpTextbox1 |
||||
int result = httpclient.executeMethod(httpget); |
||||
//System.out.println("Response status code: " + result); |
||||
InputStream responseBody = null; |
||||
|
||||
//responseBody = httpget.getResponseBodyAsStream(); //getResponseBodyAsString(); |
||||
responseBodyString=httpget.getResponseBodyAsString(); |
||||
/*while ((c = responseBody.read()) != -1) { |
||||
responseBodyString+= (char) c; |
||||
}*/ |
||||
httpget.releaseConnection(); |
||||
return responseBodyString; |
||||
} |
||||
</class_source> |
||||
</definition> |
||||
</definitions> |
||||
<fields/> |
||||
<clear_result_fields>N</clear_result_fields> |
||||
<info_steps/> |
||||
<target_steps/> |
||||
<usage_parameters/> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>48</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>Update src_xml</name> |
||||
<type>Update</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<skip_lookup>N</skip_lookup> |
||||
<commit>100</commit> |
||||
<use_batch>N</use_batch> |
||||
<error_ignored>N</error_ignored> |
||||
<ignore_flag_field/> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_document_source</table> |
||||
<key> |
||||
<name>document_id</name> |
||||
<field>document_id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>src_xml</name> |
||||
<rename>contentHtml</rename> |
||||
</value> |
||||
<value> |
||||
<name>last_input</name> |
||||
<rename>last_input</rename> |
||||
</value> |
||||
<value> |
||||
<name>src_headers</name> |
||||
<rename>headersStr</rename> |
||||
</value> |
||||
<value> |
||||
<name>src_header_levels</name> |
||||
<rename>headersLevelsStr</rename> |
||||
</value> |
||||
<value> |
||||
<name>internal_hyperlinks</name> |
||||
<rename>internalHyperlinksStr</rename> |
||||
</value> |
||||
<value> |
||||
<name>template_options</name> |
||||
<rename>templateOptionsStr</rename> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>560</xloc> |
||||
<yloc>144</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>apiDownload2src</name> |
||||
<type>XSLT</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<xslfilename>${Internal.Transformation.Filename.Directory}/mediawikiapi_page2text.xsl</xslfilename> |
||||
<fieldname>src_api_xml</fieldname> |
||||
<resultfieldname>result_text</resultfieldname> |
||||
<xslfilefield/> |
||||
<xslfilefielduse>N</xslfilefielduse> |
||||
<xslfieldisafile>N</xslfieldisafile> |
||||
<xslfactory>JAXP</xslfactory> |
||||
<parameters/> |
||||
<outputproperties> |
||||
<outputproperty> |
||||
<name>method</name> |
||||
<value>text</value> |
||||
</outputproperty> |
||||
</outputproperties> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>240</xloc> |
||||
<yloc>224</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getSrcTitle</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select S.document_id, S.src_title, S.src_text,S.src_api_xml, |
||||
S.src_url,W.hostname,W.api_path,W.cookie_name, W.cookie_value, today() as last_input |
||||
from kb_document_source S, kb_webconnection W |
||||
where W.id=S.webconnection_id |
||||
and S.document_id=${document_id}</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>64</xloc> |
||||
<yloc>48</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>saveSrc</name> |
||||
<type>Update</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<skip_lookup>N</skip_lookup> |
||||
<commit>100</commit> |
||||
<use_batch>N</use_batch> |
||||
<error_ignored>N</error_ignored> |
||||
<ignore_flag_field/> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_document_source</table> |
||||
<key> |
||||
<name>document_id</name> |
||||
<field>document_id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>src_text</name> |
||||
<rename>result_text</rename> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>336</xloc> |
||||
<yloc>208</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>wiki2html</name> |
||||
<type>ScriptValueMod</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<compatible>N</compatible> |
||||
<optimizationLevel>9</optimizationLevel> |
||||
<jsScripts> |
||||
<jsScript> |
||||
<jsScript_type>0</jsScript_type> |
||||
<jsScript_name>Script 1</jsScript_name> |
||||
<jsScript_script>//Script here |
||||
// assuming, that the ua-parser.js is in the transformation directory: |
||||
var transformationPath = getVariable("Internal.Transformation.Filename.Directory", ""); |
||||
var jsScriptPath = transformationPath + "/mwtools.js"; |
||||
LoadScriptFile(jsScriptPath); |
||||
//alert("klappt"); |
||||
|
||||
var newWikiModel = new wikiModel(result_text); |
||||
|
||||
//var contentHtml=mw2xhtml(result_text); |
||||
|
||||
var contentHtml=newWikiModel.wikiHtml; |
||||
var headersStr=newWikiModel.headersStr; |
||||
var headersLevelsStr=newWikiModel.headersLevelsStr; |
||||
var internalHyperlinksStr=newWikiModel.internalHyperlinksStr; |
||||
var templateOptionsStr=newWikiModel.templateOptionsStr; |
||||
</jsScript_script> |
||||
</jsScript> |
||||
</jsScripts> |
||||
<fields> |
||||
<field> |
||||
<name>contentHtml</name> |
||||
<rename>contentHtml</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>headersStr</name> |
||||
<rename>headersStr</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>headersLevelsStr</name> |
||||
<rename>headersLevelsStr</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>internalHyperlinksStr</name> |
||||
<rename>internalHyperlinksStr</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
<field> |
||||
<name>templateOptionsStr</name> |
||||
<rename>templateOptionsStr</rename> |
||||
<type>String</type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<replace>N</replace> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>528</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>save src_api_xml</name> |
||||
<type>Update</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<skip_lookup>N</skip_lookup> |
||||
<commit>100</commit> |
||||
<use_batch>N</use_batch> |
||||
<error_ignored>N</error_ignored> |
||||
<ignore_flag_field/> |
||||
<lookup> |
||||
<schema/> |
||||
<table>kb_document_source</table> |
||||
<key> |
||||
<name>document_id</name> |
||||
<field>document_id</field> |
||||
<condition>=</condition> |
||||
<name2/> |
||||
</key> |
||||
<value> |
||||
<name>src_api_xml</name> |
||||
<rename>src_api_xml</rename> |
||||
</value> |
||||
</lookup> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>160</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash |
||||
|
||||
PENTAHO_DI_JAVA_OPTIONS="-Xmx256m" |
||||
export PENTAHO_DI_JAVA_OPTIONS |
||||
|
||||
|
||||
$KETTLE_PFAD/kitchen.sh "-param:document_id=$1" /file:$KB_PFAD/etl/wiki2html/wiki2html.kjb /norep |
||||
|
||||
$KETTLE_PFAD/kitchen.sh "-param:document_id=$1" /file:$KB_PFAD/etl/xml2html/xml2html.kjb /norep |
||||
|
@ -0,0 +1,358 @@
@@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><job> |
||||
<name>copyFiles</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<job_version/> |
||||
<job_status>0</job_status> |
||||
<directory>/</directory> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/20 11:09:22.168</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/20 11:09:22.168</modified_date> |
||||
<parameters> |
||||
<parameter> |
||||
<name>from</name> |
||||
<default_value/> |
||||
<description/> |
||||
</parameter> |
||||
<parameter> |
||||
<name>to</name> |
||||
<default_value/> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<slaveservers/> |
||||
<job-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_JOB</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_JOB</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>JOBNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>START_JOB_ENTRY</id> |
||||
<enabled>N</enabled> |
||||
<name>START_JOB_ENTRY</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</job-log-table> |
||||
<jobentry-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBENTRYNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>RESULT</id> |
||||
<enabled>Y</enabled> |
||||
<name>RESULT</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_FILES</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_FILES</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>COPY_NR</id> |
||||
<enabled>N</enabled> |
||||
<name>COPY_NR</name> |
||||
</field> |
||||
</jobentry-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<pass_batchid>N</pass_batchid> |
||||
<shared_objects_file/> |
||||
<entries> |
||||
<entry> |
||||
<name>START</name> |
||||
<description/> |
||||
<type>SPECIAL</type> |
||||
<start>Y</start> |
||||
<dummy>N</dummy> |
||||
<repeat>N</repeat> |
||||
<schedulerType>0</schedulerType> |
||||
<intervalSeconds>0</intervalSeconds> |
||||
<intervalMinutes>60</intervalMinutes> |
||||
<hour>12</hour> |
||||
<minutes>0</minutes> |
||||
<weekDay>1</weekDay> |
||||
<DayOfMonth>1</DayOfMonth> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>160</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>Copy Files</name> |
||||
<description/> |
||||
<type>COPY_FILES</type> |
||||
<copy_empty_folders>Y</copy_empty_folders> |
||||
<arg_from_previous>N</arg_from_previous> |
||||
<overwrite_files>Y</overwrite_files> |
||||
<include_subfolders>Y</include_subfolders> |
||||
<remove_source_files>N</remove_source_files> |
||||
<add_result_filesname>N</add_result_filesname> |
||||
<destination_is_a_file>N</destination_is_a_file> |
||||
<create_destination_folder>Y</create_destination_folder> |
||||
<fields> |
||||
<field> |
||||
<source_filefolder>${from}</source_filefolder> |
||||
<source_configuration_name>LOCAL-SOURCE-FILE-0</source_configuration_name> |
||||
<destination_filefolder>${to}</destination_filefolder> |
||||
<destination_configuration_name>LOCAL-DEST-FILE-0</destination_configuration_name> |
||||
<wildcard/> |
||||
</field> |
||||
</fields> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>304</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
</entries> |
||||
<hops> |
||||
<hop> |
||||
<from>START</from> |
||||
<to>Copy Files</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>Y</unconditional> |
||||
</hop> |
||||
</hops> |
||||
<notepads/> |
||||
</job> |
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
<html> |
||||
<body> |
||||
<h1>www</h1> |
||||
<header> |
||||
<span class="report-name"> |
||||
SOME NAME HERE [page] |
||||
</span> |
||||
<span class="report-date">{pdf_date}</span> |
||||
</header> |
||||
</body> |
||||
</html> |
||||
|
@ -0,0 +1,808 @@
@@ -0,0 +1,808 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<transformation> |
||||
<info> |
||||
<name>replaceBodyPrintversion</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>241</default_value> |
||||
<description/> |
||||
</parameter> |
||||
<parameter> |
||||
<name>output_project_id</name> |
||||
<default_value>96</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies> |
||||
</dependencies> |
||||
<partitionschemas> |
||||
</partitionschemas> |
||||
<slaveservers> |
||||
</slaveservers> |
||||
<clusterschemas> |
||||
</clusterschemas> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/19 19:23:22.741</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/19 19:23:22.741</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads> |
||||
</notepads> |
||||
<connection> |
||||
<name>eduetl</name> |
||||
<server>localhost</server> |
||||
<type>POSTGRESQL</type> |
||||
<access>Native</access> |
||||
<database>community</database> |
||||
<port>9998</port> |
||||
<username>superx</username> |
||||
<password>Encrypted 2be98afc86aa7f2e4be0b8b49fca3e2f0</password> |
||||
<servername>superx_host_iso</servername> |
||||
<data_tablespace/> |
||||
<index_tablespace/> |
||||
<attributes> |
||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
||||
<attribute><code>PORT_NUMBER</code><attribute>9998</attribute></attribute> |
||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute> |
||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
||||
</attributes> |
||||
</connection> |
||||
<order> |
||||
<hop> |
||||
<from>getChapters</from> |
||||
<to>Load file content in memory</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>Load file content in memory</from> |
||||
<to>processTemplates</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>processTemplates</from> |
||||
<to>Text file output</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>Load file content in memory</name> |
||||
<type>LoadFileInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<include>N</include> |
||||
<include_field/> |
||||
<rownum>N</rownum> |
||||
<addresultfile>Y</addresultfile> |
||||
<IsIgnoreEmptyFile>N</IsIgnoreEmptyFile> |
||||
<rownum_field/> |
||||
<encoding/> |
||||
<file> |
||||
</file> |
||||
<fields> |
||||
<field> |
||||
<name>File content</name> |
||||
<element_type>content</element_type> |
||||
<type>String</type> |
||||
<format/> |
||||
<currency/> |
||||
<decimal/> |
||||
<group/> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<trim_type>none</trim_type> |
||||
<repeat>N</repeat> |
||||
</field> |
||||
<field> |
||||
<name>File size</name> |
||||
<element_type>size</element_type> |
||||
<type>Integer</type> |
||||
<format/> |
||||
<currency/> |
||||
<decimal/> |
||||
<group/> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
<trim_type>none</trim_type> |
||||
<repeat>N</repeat> |
||||
</field> |
||||
</fields> |
||||
<limit>0</limit> |
||||
<IsInFields>Y</IsInFields> |
||||
<DynamicFilenameField>sourceFileName</DynamicFilenameField> |
||||
<shortFileFieldName/> |
||||
<pathFieldName/> |
||||
<hiddenFieldName/> |
||||
<lastModificationTimeFieldName/> |
||||
<uriNameFieldName/> |
||||
<rootUriNameFieldName/> |
||||
<extensionFieldName/> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input> |
||||
</input> |
||||
<output> |
||||
</output> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>224</xloc> |
||||
<yloc>80</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
|
||||
<step> |
||||
<name>getChapters</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select C.id as chapter_tid,D.id as document_id,'${Internal.Transformation.Filename.Directory}/tmp/files_${document_id}/f_' || C.chapter_filename || '.htm' as "sourceFileName",
'${Internal.Transformation.Filename.Directory}/tmp/files_${document_id}/f_' || C.chapter_filename || '.htm' as "targetFileName",
'${Internal.Transformation.Filename.Directory}/tmp/files_${document_id}/__index_new.htm' as "indexFileName",
'#body' || C.id || '#' as body_marker,
replace(C.chapter_bodytext,'$','&#36;') as body, --Dollar Zeichen wird maskiert damit Kettle das nicht als Variable interpretiert
'<h' || (C.chapter_level+1) || '>' || C.defaulttext ||'</h' || (C.chapter_level+1) || '>' as chapter_header,
(select P.target_server || '/' || P.document_root || '/' || P.target_path from kb_output_project P, kb_output_project_part A where P.id=A.output_project_id and A.src_document_id=${document_id}) as target_path,
(select '<a href="' || P.pdf_file || '">PDF</a>' from kb_output_project P, kb_output_project_part A where P.id=A.output_project_id and A.src_document_id=${document_id}) as pdf_file,
coalesce((select '${Internal.Transformation.Filename.Directory}/' || L.embedded_files_path || '/mwTemplates.xsl' from kb_output_project_layout L, kb_output_project P, kb_output_project_part A where P.id=A.output_project_id and A.src_document_id=${document_id} 
and P.kb_output_project_layout_id=L.id),'${Internal.Transformation.Filename.Directory}/mwTemplates.xsl') as mwtemplates
from kb_chapter C, kb_document D
where D.id=C.document_id
and D.id=${document_id}
order by sortnr;</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input> |
||||
</input> |
||||
<output> |
||||
</output> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>64</xloc> |
||||
<yloc>80</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
|
||||
<step> |
||||
<name>processTemplates</name> |
||||
<type>UserDefinedJavaClass</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
|
||||
<definitions> |
||||
<definition> |
||||
<class_type>TRANSFORM_CLASS</class_type> |
||||
|
||||
<class_name>Processor</class_name> |
||||
|
||||
<class_source><![CDATA[ |
||||
import java.io.File; |
||||
import java.io.IOException; |
||||
import java.io.InputStreamReader; |
||||
import java.io.OutputStreamWriter; |
||||
import java.io.ByteArrayInputStream; |
||||
import java.io.InputStream; |
||||
import java.io.StringWriter; |
||||
import javax.xml.parsers.*; |
||||
import javax.xml.transform.*; |
||||
import java.util.HashMap; |
||||
import java.util.Iterator; |
||||
import java.util.Set; |
||||
import javax.xml.transform.TransformerConfigurationException; |
||||
import javax.xml.transform.TransformerException; |
||||
|
||||
|
||||
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException, TransformerException{ |
||||
|
||||
Object[] r = getRow(); |
||||
if (r == null) { |
||||
setOutputDone(); |
||||
return false; |
||||
} |
||||
String mwTemplateElem="mwTemplate"; |
||||
String xsl=get(Fields.In, "mwtemplates").getString(r); |
||||
String body=get(Fields.In, "body").getString(r); |
||||
|
||||
|
||||
String mwTemplateContent=""; |
||||
int cursor=body.indexOf("<"+mwTemplateElem); |
||||
if(cursor==-1) |
||||
{ |
||||
//do nothing |
||||
//System.out.println("body ohne Template:"+body); |
||||
Object[] outputRow = createOutputRow(r, data.outputRowMeta.size()); |
||||
putRow(data.outputRowMeta, outputRow); |
||||
return true; |
||||
} |
||||
|
||||
while (cursor>-1) { |
||||
String body_vorher=body.substring(0,cursor); |
||||
int endTag=body.indexOf("</"+mwTemplateElem+">"); |
||||
if(endTag >-1) |
||||
{ |
||||
System.out.println("body_vorher:"+body_vorher); |
||||
|
||||
mwTemplateContent=body.substring(cursor,endTag+mwTemplateElem.length()+3).replaceAll("&","&"); |
||||
System.out.println("mwTemplateContent:"+mwTemplateContent); |
||||
|
||||
String body_nachher=body.substring(endTag+mwTemplateElem.length()+3,body.length()); |
||||
System.out.println("body_nachher:"+body_nachher); |
||||
|
||||
body=body_vorher+xsltTransform(mwTemplateContent,xsl)+body_nachher; |
||||
System.out.println("bodyParsed:"+body); |
||||
|
||||
} |
||||
else |
||||
{ |
||||
body=body_vorher+body.substring(cursor+mwTemplateElem.length()+2,body.length()); |
||||
} |
||||
cursor=body.indexOf("<"+mwTemplateElem); |
||||
} |
||||
|
||||
Object[] outputRow = createOutputRow(r, data.outputRowMeta.size()); |
||||
get(Fields.Out, "body").setValue(outputRow, body); |
||||
putRow(data.outputRowMeta, outputRow); |
||||
return true; |
||||
} |
||||
public static String xsltTransform(String inXml, String xslFile) |
||||
throws TransformerException { |
||||
String result=""; |
||||
// 1. Instantiate a TransformerFactory. |
||||
javax.xml.transform.TransformerFactory tFactory = javax.xml.transform.TransformerFactory |
||||
.newInstance("net.sf.saxon.TransformerFactoryImpl",null); |
||||
|
||||
// 2. Use the TransformerFactory to process the stylesheet Source and |
||||
// generate a Transformer. |
||||
javax.xml.transform.Transformer transformer = tFactory |
||||
.newTransformer(new javax.xml.transform.stream.StreamSource( |
||||
xslFile)); |
||||
|
||||
InputStream inpStream = new ByteArrayInputStream(inXml.getBytes()); |
||||
StringWriter xmlOutWriter = new StringWriter(); |
||||
transformer.transform(new javax.xml.transform.stream.StreamSource( |
||||
inpStream), new javax.xml.transform.stream.StreamResult( |
||||
xmlOutWriter)); |
||||
result=xmlOutWriter.toString(); |
||||
|
||||
return result; |
||||
}// Ende der Methode]]></class_source> |
||||
</definition> |
||||
</definitions> |
||||
<fields> |
||||
</fields><clear_result_fields>N</clear_result_fields> |
||||
<info_steps></info_steps><target_steps></target_steps><usage_parameters></usage_parameters> <cluster_schema/> |
||||
<remotesteps> |
||||
<input> |
||||
</input> |
||||
<output> |
||||
</output> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>400</xloc> |
||||
<yloc>80</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
|
||||
<step> |
||||
<name>Text file output</name> |
||||
<type>TextFileOutput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<separator>${line.separator}</separator> |
||||
<enclosure/> |
||||
<enclosure_forced>N</enclosure_forced> |
||||
<enclosure_fix_disabled>N</enclosure_fix_disabled> |
||||
<header>N</header> |
||||
<footer>N</footer> |
||||
<format>UNIX</format> |
||||
<compression>None</compression> |
||||
<encoding>UTF-8</encoding> |
||||
<endedLine/> |
||||
<fileNameInField>N</fileNameInField> |
||||
<fileNameField>indexFileName</fileNameField> |
||||
<create_parent_folder>Y</create_parent_folder> |
||||
<file> |
||||
<name>${Internal.Transformation.Filename.Directory}/tmp_index_content</name> |
||||
<is_command>N</is_command> |
||||
<servlet_output>N</servlet_output> |
||||
<do_not_open_new_file_init>Y</do_not_open_new_file_init> |
||||
<extention>htm</extention> |
||||
<append>N</append> |
||||
<split>N</split> |
||||
<haspartno>N</haspartno> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<SpecifyFormat>N</SpecifyFormat> |
||||
<date_time_format/> |
||||
<add_to_result_filenames>Y</add_to_result_filenames> |
||||
<pad>N</pad> |
||||
<fast_dump>Y</fast_dump> |
||||
<splitevery>0</splitevery> |
||||
</file> |
||||
<fields> |
||||
<field> |
||||
<name>chapter_header</name> |
||||
<type>String</type> |
||||
<format/> |
||||
<currency/> |
||||
<decimal/> |
||||
<group/> |
||||
<nullif/> |
||||
<trim_type>none</trim_type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
</field> |
||||
<field> |
||||
<name>body</name> |
||||
<type>String</type> |
||||
<format/> |
||||
<currency/> |
||||
<decimal/> |
||||
<group/> |
||||
<nullif/> |
||||
<trim_type>none</trim_type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input> |
||||
</input> |
||||
<output> |
||||
</output> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>560</xloc> |
||||
<yloc>80</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
|
||||
<step_error_handling> |
||||
</step_error_handling> |
||||
<slave-step-copy-partition-distribution> |
||||
</slave-step-copy-partition-distribution> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,477 @@
@@ -0,0 +1,477 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><job> |
||||
<name>createPDF</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<job_version/> |
||||
<job_status>0</job_status> |
||||
<directory>/</directory> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/02/17 20:55:11.602</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/02/17 20:55:11.602</modified_date> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>243</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<slaveservers/> |
||||
<job-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_JOB</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_JOB</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>JOBNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>START_JOB_ENTRY</id> |
||||
<enabled>N</enabled> |
||||
<name>START_JOB_ENTRY</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</job-log-table> |
||||
<jobentry-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBENTRYNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>RESULT</id> |
||||
<enabled>Y</enabled> |
||||
<name>RESULT</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_FILES</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_FILES</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>COPY_NR</id> |
||||
<enabled>N</enabled> |
||||
<name>COPY_NR</name> |
||||
</field> |
||||
</jobentry-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<pass_batchid>N</pass_batchid> |
||||
<shared_objects_file/> |
||||
<entries> |
||||
<entry> |
||||
<name>START</name> |
||||
<description/> |
||||
<type>SPECIAL</type> |
||||
<start>Y</start> |
||||
<dummy>N</dummy> |
||||
<repeat>N</repeat> |
||||
<schedulerType>0</schedulerType> |
||||
<intervalSeconds>0</intervalSeconds> |
||||
<intervalMinutes>60</intervalMinutes> |
||||
<hour>12</hour> |
||||
<minutes>0</minutes> |
||||
<weekDay>1</weekDay> |
||||
<DayOfMonth>1</DayOfMonth> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>112</xloc> |
||||
<yloc>96</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>getPathForPDFExport</name> |
||||
<description/> |
||||
<type>TRANS</type> |
||||
<specification_method>filename</specification_method> |
||||
<trans_object_id/> |
||||
<filename>${Internal.Job.Filename.Directory}/getPathForPDFExport.ktr</filename> |
||||
<transname/> |
||||
<arg_from_previous>N</arg_from_previous> |
||||
<params_from_previous>N</params_from_previous> |
||||
<exec_per_row>N</exec_per_row> |
||||
<clear_rows>N</clear_rows> |
||||
<clear_files>N</clear_files> |
||||
<set_logfile>N</set_logfile> |
||||
<logfile/> |
||||
<logext/> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<loglevel>Basic</loglevel> |
||||
<cluster>N</cluster> |
||||
<slave_server_name/> |
||||
<set_append_logfile>N</set_append_logfile> |
||||
<wait_until_finished>Y</wait_until_finished> |
||||
<follow_abort_remote>N</follow_abort_remote> |
||||
<create_parent_folder>N</create_parent_folder> |
||||
<logging_remote_work>N</logging_remote_work> |
||||
<parameters> |
||||
<pass_all_parameters>Y</pass_all_parameters> |
||||
</parameters> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>304</xloc> |
||||
<yloc>112</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>createPDF</name> |
||||
<description/> |
||||
<type>SHELL</type> |
||||
<filename>${Internal.Job.Filename.Directory}/create_pdf.x</filename> |
||||
<work_directory>${Internal.Job.Filename.Directory}</work_directory> |
||||
<arg_from_previous>N</arg_from_previous> |
||||
<exec_per_row>N</exec_per_row> |
||||
<set_logfile>N</set_logfile> |
||||
<logfile/> |
||||
<set_append_logfile>N</set_append_logfile> |
||||
<logext/> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<insertScript>N</insertScript> |
||||
<script/> |
||||
<loglevel>Basic</loglevel> |
||||
<argument0>${path}</argument0> |
||||
<argument1>__index</argument1> |
||||
<argument2>${pdf_titel}</argument2> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>544</xloc> |
||||
<yloc>160</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>Move Files</name> |
||||
<description/> |
||||
<type>MOVE_FILES</type> |
||||
<move_empty_folders>N</move_empty_folders> |
||||
<arg_from_previous>N</arg_from_previous> |
||||
<include_subfolders>N</include_subfolders> |
||||
<add_result_filesname>N</add_result_filesname> |
||||
<destination_is_a_file>Y</destination_is_a_file> |
||||
<create_destination_folder>N</create_destination_folder> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<SpecifyFormat>N</SpecifyFormat> |
||||
<date_time_format/> |
||||
<nr_errors_less_than>10</nr_errors_less_than> |
||||
<success_condition>success_if_no_errors</success_condition> |
||||
<AddDateBeforeExtension>N</AddDateBeforeExtension> |
||||
<DoNotKeepFolderStructure>N</DoNotKeepFolderStructure> |
||||
<iffileexists>overwrite_file</iffileexists> |
||||
<destinationFolder/> |
||||
<ifmovedfileexists>do_nothing</ifmovedfileexists> |
||||
<moved_date_time_format/> |
||||
<create_move_to_folder>N</create_move_to_folder> |
||||
<add_moved_date>N</add_moved_date> |
||||
<add_moved_time>N</add_moved_time> |
||||
<SpecifyMoveFormat>N</SpecifyMoveFormat> |
||||
<AddMovedDateBeforeExtension>N</AddMovedDateBeforeExtension> |
||||
<simulate>N</simulate> |
||||
<fields> |
||||
<field> |
||||
<source_filefolder>${path}/__index.pdf</source_filefolder> |
||||
<destination_filefolder>${path}/${pdf_file}</destination_filefolder> |
||||
<wildcard/> |
||||
</field> |
||||
</fields> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>736</xloc> |
||||
<yloc>336</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>pdf_file_gesetzt?</name> |
||||
<description/> |
||||
<type>SIMPLE_EVAL</type> |
||||
<valuetype>variable</valuetype> |
||||
<fieldname>pdf_file</fieldname> |
||||
<variablename>${pdf_file}</variablename> |
||||
<fieldtype>string</fieldtype> |
||||
<mask/> |
||||
<comparevalue>.pdf</comparevalue> |
||||
<minvalue/> |
||||
<maxvalue/> |
||||
<successcondition>endswith</successcondition> |
||||
<successnumbercondition>equal</successnumbercondition> |
||||
<successbooleancondition>false</successbooleancondition> |
||||
<successwhenvarset>N</successwhenvarset> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>432</xloc> |
||||
<yloc>144</yloc> |
||||
</entry> |
||||
</entries> |
||||
<hops> |
||||
<hop> |
||||
<from>START</from> |
||||
<to>getPathForPDFExport</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>Y</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>getPathForPDFExport</from> |
||||
<to>pdf_file_gesetzt?</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>pdf_file_gesetzt?</from> |
||||
<to>createPDF</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>createPDF</from> |
||||
<to>Move Files</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
</hops> |
||||
<notepads/> |
||||
</job> |
@ -0,0 +1,445 @@
@@ -0,0 +1,445 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<transformation> |
||||
<info> |
||||
<name>createTopics</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies> |
||||
</dependencies> |
||||
<partitionschemas> |
||||
</partitionschemas> |
||||
<slaveservers> |
||||
</slaveservers> |
||||
<clusterschemas> |
||||
</clusterschemas> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/03 09:45:08.137</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/03 09:45:08.137</modified_date> |
||||
<key_for_session_key/> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads> |
||||
</notepads> |
||||
<order> |
||||
</order> |
||||
<step_error_handling> |
||||
</step_error_handling> |
||||
<slave-step-copy-partition-distribution> |
||||
</slave-step-copy-partition-distribution> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,686 @@
@@ -0,0 +1,686 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<transformation> |
||||
<info> |
||||
<name>createXhtml</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>243</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies> |
||||
</dependencies> |
||||
<partitionschemas> |
||||
</partitionschemas> |
||||
<slaveservers> |
||||
</slaveservers> |
||||
<clusterschemas> |
||||
</clusterschemas> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/01/03 09:49:30.053</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/01/03 09:49:30.053</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads> |
||||
</notepads> |
||||
<connection> |
||||
<name>eduetl</name> |
||||
<server>localhost</server> |
||||
<type>POSTGRESQL</type> |
||||
<access>Native</access> |
||||
<database>superx</database> |
||||
<port>5433</port> |
||||
<username>superx</username> |
||||
<password>Encrypted 2be98afc86aa7f2e4cb79ce10bef2fe88</password> |
||||
<servername/> |
||||
<data_tablespace/> |
||||
<index_tablespace/> |
||||
<attributes> |
||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
||||
<attribute><code>PORT_NUMBER</code><attribute>5433</attribute></attribute> |
||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> |
||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
||||
</attributes> |
||||
</connection> |
||||
<order> |
||||
<hop> |
||||
<from>getSrcXml</from> |
||||
<to>Concat Fields</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
<hop> |
||||
<from>Concat Fields</from> |
||||
<to>write_xhtml</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>getSrcXml</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select '<html><head><title>' || defaulttext || '</title></head><body>' as header,content_xhtml,'</body></html>' as footer from kb_document where id =${document_id};</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input> |
||||
</input> |
||||
<output> |
||||
</output> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>112</xloc> |
||||
<yloc>64</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
|
||||
<step> |
||||
<name>write_xhtml</name> |
||||
<type>TextFileOutput</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<separator/> |
||||
<enclosure/> |
||||
<enclosure_forced>N</enclosure_forced> |
||||
<enclosure_fix_disabled>N</enclosure_fix_disabled> |
||||
<header>N</header> |
||||
<footer>N</footer> |
||||
<format>UNIX</format> |
||||
<compression>None</compression> |
||||
<encoding>UTF-8</encoding> |
||||
<endedLine/> |
||||
<fileNameInField>N</fileNameInField> |
||||
<fileNameField/> |
||||
<create_parent_folder>Y</create_parent_folder> |
||||
<file> |
||||
<name>${Internal.Transformation.Filename.Directory}/tmp/files_${document_id}/content</name> |
||||
<is_command>N</is_command> |
||||
<servlet_output>N</servlet_output> |
||||
<do_not_open_new_file_init>N</do_not_open_new_file_init> |
||||
<extention>xhtml</extention> |
||||
<append>N</append> |
||||
<split>N</split> |
||||
<haspartno>N</haspartno> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<SpecifyFormat>N</SpecifyFormat> |
||||
<date_time_format/> |
||||
<add_to_result_filenames>Y</add_to_result_filenames> |
||||
<pad>N</pad> |
||||
<fast_dump>Y</fast_dump> |
||||
<splitevery>0</splitevery> |
||||
</file> |
||||
<fields> |
||||
<field> |
||||
<name>content</name> |
||||
<type>String</type> |
||||
<format/> |
||||
<currency/> |
||||
<decimal/> |
||||
<group/> |
||||
<nullif/> |
||||
<trim_type>none</trim_type> |
||||
<length>2147483647</length> |
||||
<precision>-1</precision> |
||||
</field> |
||||
</fields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input> |
||||
</input> |
||||
<output> |
||||
</output> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>144</xloc> |
||||
<yloc>288</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
|
||||
<step> |
||||
<name>Concat Fields</name> |
||||
<type>ConcatFields</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<separator/> |
||||
<enclosure/> |
||||
<enclosure_forced>N</enclosure_forced> |
||||
<enclosure_fix_disabled>N</enclosure_fix_disabled> |
||||
<header>N</header> |
||||
<footer>N</footer> |
||||
<format>DOS</format> |
||||
<compression>None</compression> |
||||
<encoding/> |
||||
<endedLine/> |
||||
<fileNameInField>N</fileNameInField> |
||||
<fileNameField/> |
||||
<create_parent_folder>Y</create_parent_folder> |
||||
<file> |
||||
<name>file</name> |
||||
<is_command>N</is_command> |
||||
<servlet_output>N</servlet_output> |
||||
<do_not_open_new_file_init>N</do_not_open_new_file_init> |
||||
<extention>txt</extention> |
||||
<append>N</append> |
||||
<split>N</split> |
||||
<haspartno>N</haspartno> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<SpecifyFormat>N</SpecifyFormat> |
||||
<date_time_format/> |
||||
<add_to_result_filenames>Y</add_to_result_filenames> |
||||
<pad>N</pad> |
||||
<fast_dump>N</fast_dump> |
||||
<splitevery>0</splitevery> |
||||
</file> |
||||
<fields> |
||||
<field> |
||||
<name>header</name> |
||||
<type>String</type> |
||||
<format/> |
||||
<currency/> |
||||
<decimal/> |
||||
<group/> |
||||
<nullif/> |
||||
<trim_type>none</trim_type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
</field> |
||||
<field> |
||||
<name>content_xhtml</name> |
||||
<type>String</type> |
||||
<format/> |
||||
<currency/> |
||||
<decimal/> |
||||
<group/> |
||||
<nullif/> |
||||
<trim_type>none</trim_type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
</field> |
||||
<field> |
||||
<name>footer</name> |
||||
<type>String</type> |
||||
<format/> |
||||
<currency/> |
||||
<decimal/> |
||||
<group/> |
||||
<nullif/> |
||||
<trim_type>none</trim_type> |
||||
<length>-1</length> |
||||
<precision>-1</precision> |
||||
</field> |
||||
</fields> |
||||
<ConcatFields> |
||||
<targetFieldName>content</targetFieldName> |
||||
<targetFieldLength>0</targetFieldLength> |
||||
<removeSelectedFields>N</removeSelectedFields> |
||||
</ConcatFields> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input> |
||||
</input> |
||||
<output> |
||||
</output> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>112</xloc> |
||||
<yloc>176</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
|
||||
<step_error_handling> |
||||
</step_error_handling> |
||||
<slave-step-copy-partition-distribution> |
||||
</slave-step-copy-partition-distribution> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,507 @@
@@ -0,0 +1,507 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<transformation> |
||||
<info> |
||||
<name>create_pdf</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>243</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies> |
||||
</dependencies> |
||||
<partitionschemas> |
||||
</partitionschemas> |
||||
<slaveservers> |
||||
</slaveservers> |
||||
<clusterschemas> |
||||
</clusterschemas> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/02/17 20:46:41.031</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/02/17 20:46:41.031</modified_date> |
||||
<key_for_session_key/> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads> |
||||
</notepads> |
||||
<connection> |
||||
<name>eduetl</name> |
||||
<server>localhost</server> |
||||
<type>POSTGRESQL</type> |
||||
<access>Native</access> |
||||
<database>superx</database> |
||||
<port>5433</port> |
||||
<username>superx</username> |
||||
<password>Encrypted 2be98afc86aa7f2e4cb79ce10bef2fe88</password> |
||||
<servername/> |
||||
<data_tablespace/> |
||||
<index_tablespace/> |
||||
<attributes> |
||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
||||
<attribute><code>PORT_NUMBER</code><attribute>5433</attribute></attribute> |
||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> |
||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
||||
</attributes> |
||||
</connection> |
||||
<order> |
||||
</order> |
||||
<step> |
||||
<name>getOutputProjectDetails</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>N</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select D.id,D.defaulttext as document_defaulttext, 
R.content || '/../' || O.document_root || '/' || O.target_path as to
from sx_repository R, kb_document D, kb_document_source S, kb_output_project O, kb_output_project_part P, kb_output_project_layout L
where R.id='WEBINFDIR'
and D.id=P.src_document_id
and D.id=S.document_id
and O.id=P.output_project_id
and L.id=O.kb_output_project_layout_id
and D.id=${document_id}</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input> |
||||
</input> |
||||
<output> |
||||
</output> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>128</xloc> |
||||
<yloc>96</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
|
||||
<step_error_handling> |
||||
</step_error_handling> |
||||
<slave-step-copy-partition-distribution> |
||||
</slave-step-copy-partition-distribution> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,65 @@
@@ -0,0 +1,65 @@
|
||||
#!/bin/bash |
||||
|
||||
PFAD=$1 |
||||
DATEI=$2 |
||||
TITEL="$3" |
||||
|
||||
HEUTE=`date +'%d.%m.%Y'` |
||||
|
||||
chmod a+rx $PFAD |
||||
chmod a+rx $PFAD/search |
||||
|
||||
if [ -d "wkhtmltox" ] |
||||
then |
||||
echo "wkhtmltox existiert, $PFAD/$DATEI.htm wird transformiert" |
||||
./wkhtmltox/bin/wkhtmltopdf --margin-top '20' --margin-bottom '20' --encoding 'UTF-8' --header-line --footer-line --footer-left "Erzeugt am $HEUTE" --footer-font-size '10' --footer-spacing '10' --header-center "$TITEL" --header-right '[page]' --outline-depth 10 toc --xsl-style-sheet toc_pdf.xsl $PFAD/$DATEI.htm $PFAD/$DATEI.pdf >/dev/null 2>&1 |
||||
OUT=$? |
||||
RETCODE=1 |
||||
|
||||
echo "wkhtmltox return code:" |
||||
case $OUT in |
||||
0) |
||||
echo "All OK" |
||||
RETCODE=0 |
||||
;; |
||||
1) |
||||
echo "PDF generated OK, but some request(s) did not return HTTP 200" |
||||
RETCODE=0 |
||||
;; |
||||
2) |
||||
echo "Could not something something" |
||||
RETCODE=1 |
||||
;; |
||||
X) |
||||
echo "Could not write PDF: File in use" |
||||
RETCODE=1 |
||||
;; |
||||
Y) |
||||
echo "Could not write PDF: No write permission" |
||||
RETCODE=1 |
||||
;; |
||||
Z) |
||||
echo "PDF generated OK, but some JavaScript requests(s) timeouted" |
||||
RETCODE=0 |
||||
;; |
||||
A) |
||||
echo "Invalid arguments provided" |
||||
RETCODE=1 |
||||
;; |
||||
B) |
||||
echo "Could not find input file(s)" |
||||
RETCODE=1 |
||||
;; |
||||
C) |
||||
echo "Process timeout" |
||||
RETCODE=1 |
||||
;; |
||||
esac |
||||
exit $RETCODE |
||||
else |
||||
echo "echo wkhtmltox existiert nicht, nehme OO" |
||||
cd $PFAD |
||||
/usr/bin/soffice --headless --convert-to pdf $DATEI.htm |
||||
fi |
||||
|
||||
|
@ -0,0 +1,529 @@
@@ -0,0 +1,529 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><transformation> |
||||
<info> |
||||
<name>getPathForPDFExport</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<trans_version/> |
||||
<trans_type>Normal</trans_type> |
||||
<trans_status>0</trans_status> |
||||
<directory>/</directory> |
||||
<parameters> |
||||
<parameter> |
||||
<name>document_id</name> |
||||
<default_value>243</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<log> |
||||
<trans-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
<subject/> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</trans-log-table> |
||||
<perf-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>SEQ_NR</id> |
||||
<enabled>Y</enabled> |
||||
<name>SEQ_NR</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>INPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>INPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>OUTPUT_BUFFER_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>OUTPUT_BUFFER_ROWS</name> |
||||
</field> |
||||
</perf-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<step-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>TRANSNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEPNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STEP_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEP_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
</step-log-table> |
||||
<metrics-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_CODE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_CODE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_DESCRIPTION</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_DESCRIPTION</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_SUBJECT</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_SUBJECT</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>METRICS_VALUE</id> |
||||
<enabled>Y</enabled> |
||||
<name>METRICS_VALUE</name> |
||||
</field> |
||||
</metrics-log-table> |
||||
</log> |
||||
<maxdate> |
||||
<connection/> |
||||
<table/> |
||||
<field/> |
||||
<offset>0.0</offset> |
||||
<maxdiff>0.0</maxdiff> |
||||
</maxdate> |
||||
<size_rowset>10000</size_rowset> |
||||
<sleep_time_empty>50</sleep_time_empty> |
||||
<sleep_time_full>50</sleep_time_full> |
||||
<unique_connections>N</unique_connections> |
||||
<feedback_shown>Y</feedback_shown> |
||||
<feedback_size>50000</feedback_size> |
||||
<using_thread_priorities>Y</using_thread_priorities> |
||||
<shared_objects_file/> |
||||
<capture_step_performance>N</capture_step_performance> |
||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
||||
<dependencies/> |
||||
<partitionschemas/> |
||||
<slaveservers/> |
||||
<clusterschemas/> |
||||
<created_user>-</created_user> |
||||
<created_date>2018/02/17 20:46:41.031</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2018/02/17 20:46:41.031</modified_date> |
||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
||||
<is_key_private>N</is_key_private> |
||||
</info> |
||||
<notepads/> |
||||
<order> |
||||
<hop> |
||||
<from>getOutputProjectDetails</from> |
||||
<to>Set Variables</to> |
||||
<enabled>Y</enabled> |
||||
</hop> |
||||
</order> |
||||
<step> |
||||
<name>Set Variables</name> |
||||
<type>SetVariable</type> |
||||
<description/> |
||||
<distribute>Y</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<fields> |
||||
<field> |
||||
<field_name>path</field_name> |
||||
<variable_name>path</variable_name> |
||||
<variable_type>PARENT_JOB</variable_type> |
||||
<default_value/> |
||||
</field> |
||||
<field> |
||||
<field_name>pdf_file</field_name> |
||||
<variable_name>pdf_file</variable_name> |
||||
<variable_type>PARENT_JOB</variable_type> |
||||
<default_value/> |
||||
</field> |
||||
<field> |
||||
<field_name>titel</field_name> |
||||
<variable_name>pdf_titel</variable_name> |
||||
<variable_type>PARENT_JOB</variable_type> |
||||
<default_value/> |
||||
</field> |
||||
</fields> |
||||
<use_formatting>Y</use_formatting> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>288</xloc> |
||||
<yloc>80</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step> |
||||
<name>getOutputProjectDetails</name> |
||||
<type>TableInput</type> |
||||
<description/> |
||||
<distribute>N</distribute> |
||||
<custom_distribution/> |
||||
<copies>1</copies> |
||||
<partitioning> |
||||
<method>none</method> |
||||
<schema_name/> |
||||
</partitioning> |
||||
<connection>eduetl</connection> |
||||
<sql>select R.content || '/../' || O.document_root || '/' || O.target_path as path, |
||||
O.pdf_file, |
||||
D.defaulttext as titel |
||||
from sx_repository R, kb_document D, kb_output_project O, kb_output_project_part P, kb_output_project_layout L |
||||
where R.id='WEBINFDIR' |
||||
and D.id=P.src_document_id |
||||
and O.id=P.output_project_id |
||||
and L.id=O.kb_output_project_layout_id |
||||
and O.pdf_file like '%.pdf' |
||||
and D.id=${document_id}</sql> |
||||
<limit>0</limit> |
||||
<lookup/> |
||||
<execute_each_row>N</execute_each_row> |
||||
<variables_active>Y</variables_active> |
||||
<lazy_conversion_active>N</lazy_conversion_active> |
||||
<cluster_schema/> |
||||
<remotesteps> |
||||
<input/> |
||||
<output/> |
||||
</remotesteps> |
||||
<GUI> |
||||
<xloc>144</xloc> |
||||
<yloc>80</yloc> |
||||
<draw>Y</draw> |
||||
</GUI> |
||||
</step> |
||||
<step_error_handling/> |
||||
<slave-step-copy-partition-distribution/> |
||||
<slave_transformation>N</slave_transformation> |
||||
</transformation> |
@ -0,0 +1,60 @@
@@ -0,0 +1,60 @@
|
||||
|
||||
function bodyTextStripped(bodyText) |
||||
{ |
||||
var ret=bodyText.replace(/<(?:.|\n)*?>/gm, ''); |
||||
var allowed = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz_- äüößÄÜÖ.,!?/"; |
||||
return purgevar(ret, allowed); |
||||
|
||||
} |
||||
|
||||
function validHtmlFileName(chapterName) |
||||
{ |
||||
var allowed = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz_-1234567890"; |
||||
var validFileName = purgevar(chapterName, allowed); |
||||
|
||||
return validFileName; |
||||
} |
||||
|
||||
/** |
||||
* @param chapterName |
||||
* @param allowed |
||||
* @return |
||||
*/ |
||||
function purgevar(targetvar, allowed) { |
||||
var validvar=""; |
||||
for (var i = 0; i < targetvar.length; i++) |
||||
{ |
||||
var singleChar=targetvar.substring(i, i+1); |
||||
var p = allowed.indexOf(singleChar); |
||||
if (p > -1)
|
||||
validvar+=singleChar; |
||||
} |
||||
return validvar; |
||||
} |
||||
|
||||
function getChapterLevel(str) |
||||
{ |
||||
var level=""; |
||||
var endNumber=str.indexOf(">"); |
||||
var level=str.substring(2,endNumber); |
||||
if(level=="") |
||||
level="0"; |
||||
return level; |
||||
} |
||||
|
||||
function getChapterName(str,level) |
||||
{ |
||||
var chapterName=""; |
||||
var endAnchor=str.indexOf("</a>"); |
||||
if (endAnchor>-1) |
||||
{ |
||||
chapterName=str.substring(endAnchor+4,str.lastIndexOf("<")).trim(); |
||||
} |
||||
else
|
||||
chapterName=str.substring(level.length+3,str.length-(2*(level.length+3))+2).trim(); |
||||
//first bodytext before chapter:
|
||||
if(!chapterName || chapterName=="") |
||||
chapterName=defaulttext; |
||||
|
||||
return chapterName; |
||||
} |
After Width: | Height: | Size: 3.2 KiB |
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
/* Stylesheet for the BreadCrumbs extension, an extension of the |
||||
* edit box of MediaWiki to provide an easy way to add category links |
||||
* to a specific page. |
||||
* |
||||
* @file |
||||
* @ingroup Extensions |
||||
* @author Manuel Schneider <manuel.schneider@wikimedia.ch> |
||||
* @copyright © 2007 by Manuel Schneider |
||||
* @licence GNU General Public Licence 2.0 or later |
||||
*/ |
||||
|
||||
#BreadCrumbsTrail { |
||||
font-size:0.8em; |
||||
} |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1001 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 9.6 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 73 B |
After Width: | Height: | Size: 2.9 KiB |
@ -0,0 +1,396 @@
@@ -0,0 +1,396 @@
|
||||
body { |
||||
background-color: #CCCCCC; |
||||
background-image:url("images/briefpapier_hellgrau.gif"); |
||||
color:black; margin-right: 1px; |
||||
padding-right:1px;font-family: sans-serif |
||||
} |
||||
|
||||
a.fokus:link { color:blue; |
||||
text-decoration:underline; |
||||
background-color: rgb(90%,90%,99%); |
||||
font-size:bigger; |
||||
font-weight:bolder; |
||||
text-align:right |
||||
} |
||||
a.fokus:visited { color:black; |
||||
text-decoration:underline; |
||||
font-size:bigger; |
||||
font-weight:bolder; |
||||
background-color: rgb(90%,90%,90%); |
||||
text-align:right |
||||
} |
||||
a.fokus:active { color:red; text-decoration:underline;background-color:rgb(90%,90%,90%) } |
||||
a:link { color:blue; text-decoration:none;font-weight:medium } |
||||
a:visited { color:blue; text-decoration:none;font-weight:medium } |
||||
a:active { color:red; text-decoration:none } |
||||
|
||||
p.fokus { color:black; |
||||
text-decoration:underline; |
||||
background-color: rgb(90%,90%,99%); |
||||
font-size:bigger; |
||||
font-weight:bolder; |
||||
text-align:right |
||||
} |
||||
|
||||
p.listlevel0 { |
||||
margin-left:1pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:center; |
||||
border:solid medium silver} |
||||
|
||||
p.fokus0 { |
||||
margin-left:1pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
margin-right:0px; |
||||
padding-right:0px; |
||||
border-right:none; |
||||
text-align:center; |
||||
border:solid medium silver; |
||||
background-color: rgb(90%,90%,90%); |
||||
text-align:right} |
||||
|
||||
p.listlevel1 { |
||||
margin-left:10pt; |
||||
margin-top:5pt; |
||||
margin-bottom:1pt; |
||||
background-color:rgb("70%,50%,50%"); |
||||
text-align:left; |
||||
font-weight:bold; |
||||
font-size:14pt |
||||
} |
||||
|
||||
p.fokus1 { |
||||
margin-left:10pt; |
||||
margin-top:5pt; |
||||
margin-bottom:1pt; |
||||
margin-right:0px; |
||||
padding-right:0px; |
||||
border-right:none; |
||||
background-color: rgb(90%,90%,90%); |
||||
text-align:right; |
||||
font-weight:bold; |
||||
font-size:14pt |
||||
} |
||||
|
||||
p.listlevel2 { |
||||
margin-left:20pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:left; |
||||
font-weight:bold; |
||||
font-size:13pt |
||||
|
||||
} |
||||
p.fokus2 { |
||||
margin-left:20pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
margin-right:0px; |
||||
padding-right:0px; |
||||
border-right:none; |
||||
background-color: rgb(90%,90%,90%); |
||||
text-align:right; |
||||
font-weight:bold; |
||||
font-size:13pt |
||||
|
||||
} |
||||
|
||||
p.listlevel3 { |
||||
margin-left:25pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:left; |
||||
font-size:12pt |
||||
} |
||||
p.fokus3 { |
||||
margin-left:25pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
margin-right:0px; |
||||
padding-right:0px; |
||||
border-right:none; |
||||
background-color: rgb(90%,90%,90%); |
||||
text-align:right; |
||||
font-size:12pt |
||||
} |
||||
p.listlevel4 { |
||||
margin-left:33pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:left; |
||||
font-size:11pt |
||||
} |
||||
p.fokus4 { |
||||
margin-left:33pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
margin-right:0px; |
||||
padding-right:0px; |
||||
border-right:none; |
||||
background-color: rgb(90%,90%,90%); |
||||
text-align:right; |
||||
font-size:11pt |
||||
} |
||||
p.listlevel5 { |
||||
margin-left:40pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:left; |
||||
font-size:10pt |
||||
} |
||||
p.fokus5 { |
||||
margin-left:40pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
margin-right:0px; |
||||
padding-right:0px; |
||||
border-right:none; |
||||
background-color: rgb(90%,90%,90%); |
||||
text-align:right; |
||||
font-size:10pt |
||||
} |
||||
ul.fokus { |
||||
margin-left:1pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
padding-left:1pt; |
||||
list-style-type:none |
||||
} |
||||
ul.listlevel0 { |
||||
margin-left: 0px; |
||||
border:0px; |
||||
margin-top:1px; |
||||
margin-bottom:1px; |
||||
padding-left:0px; |
||||
border:medium solid rgb(90%,90%,90%); |
||||
list-style-type:none |
||||
} |
||||
|
||||
ul.listlevel1 { |
||||
margin-left:0pt; |
||||
padding-left:0px; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
list-style-type:none |
||||
|
||||
} |
||||
|
||||
ul.listlevel2 { |
||||
margin-left:2pt; |
||||
padding-left:1pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
list-style-type:circle |
||||
|
||||
} |
||||
|
||||
ul.listlevel3 { |
||||
margin-left:2pt; |
||||
padding-left:1pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
list-style-type:square |
||||
} |
||||
ul.listlevel4 { |
||||
margin-left:2pt; |
||||
padding-left:1pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
list-style-type:none |
||||
} |
||||
ul.listlevel5 { |
||||
margin-left:2pt; |
||||
padding-left:1px; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
list-style-type:none |
||||
} |
||||
|
||||
li.listlevel0 { |
||||
margin-left:1pt; |
||||
padding-left:1px; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
list-style-type:none |
||||
} |
||||
|
||||
li.listlevel1 { |
||||
margin-left:1pt; |
||||
padding-left:0pt; |
||||
margin-top:5pt; |
||||
margin-bottom:1pt |
||||
} |
||||
|
||||
li.listlevel2 { |
||||
margin-left:2pt; |
||||
padding-left:0pt; |
||||
margin-top:1pt; |
||||
margin-bottom:0pt |
||||
} |
||||
|
||||
li.listlevel3 { |
||||
margin-left:4pt; |
||||
padding-left:0pt; |
||||
margin-top:0pt; |
||||
margin-bottom:0pt |
||||
} |
||||
li.listlevel4 { |
||||
margin-left:4pt; |
||||
padding-left:0pt; |
||||
margin-top:0pt; |
||||
margin-bottom:0pt |
||||
} |
||||
li.listlevel5 { |
||||
margin-left:3pt; |
||||
padding-left:0pt; |
||||
margin-top:0pt; |
||||
margin-bottom:0pt |
||||
} |
||||
|
||||
a.listlevel0:link { |
||||
text-align:center; |
||||
border:none} |
||||
|
||||
a.listlevel1:link { |
||||
text-align:left; |
||||
font-weight:bold; |
||||
font-size:14pt |
||||
} |
||||
|
||||
a.listlevel2:link { |
||||
text-align:left; |
||||
font-weight:bold; |
||||
font-size:13pt |
||||
|
||||
} |
||||
|
||||
a.listlevel3:link { |
||||
text-align:left; |
||||
font-size:12pt |
||||
} |
||||
a.listlevel4:link { |
||||
text-align:left; |
||||
font-size:11pt |
||||
} |
||||
a.listlevel5:link { |
||||
text-align:left; |
||||
font-size:10pt |
||||
} |
||||
|
||||
a.listlevel0:visited { |
||||
text-align:center; |
||||
border:none} |
||||
|
||||
a.listlevel1:visited { |
||||
text-align:left; |
||||
font-weight:bold; |
||||
font-size:14pt |
||||
|
||||
} |
||||
|
||||
a.listlevel2:visited { |
||||
text-align:left; |
||||
font-weight:bold; |
||||
font-size:13pt |
||||
|
||||
} |
||||
|
||||
a.listlevel3:visited{ |
||||
text-align:left; |
||||
font-size:12pt |
||||
} |
||||
a.listlevel4:visited{ |
||||
text-align:left; |
||||
font-size:11pt |
||||
|
||||
} |
||||
a.listlevel5:visited{ |
||||
text-align:left; |
||||
font-size:10pt |
||||
} |
||||
|
||||
td.listlevel0 { |
||||
margin-left:1pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:center; |
||||
background-color:black; |
||||
border:thick solid black |
||||
} |
||||
|
||||
td.listlevel1 { |
||||
margin-left:10pt; |
||||
margin-top:5pt; |
||||
margin-bottom:1pt; |
||||
border:medium solid gray; |
||||
text-align:center |
||||
} |
||||
|
||||
td.listlevel2 { |
||||
margin-left:20pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:center; |
||||
} |
||||
|
||||
td.listlevel3 { |
||||
margin-left:25pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:center |
||||
} |
||||
td.Fokus0 { |
||||
margin-left:1pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
text-align:center; |
||||
background-color:white; |
||||
border:thick solid black |
||||
} |
||||
|
||||
td.Fokus1 { |
||||
margin-left:10pt; |
||||
margin-top:5pt; |
||||
margin-bottom:1pt; |
||||
background-color:white; |
||||
border:medium solid gray; |
||||
text-align:center |
||||
} |
||||
|
||||
td.Fokus2 { |
||||
margin-left:20pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
background-color:white; |
||||
text-align:center; |
||||
} |
||||
|
||||
td.Fokus3 { |
||||
margin-left:25pt; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
background-color:white; |
||||
text-align:center |
||||
} |
||||
h1 { |
||||
font-size:x-large; |
||||
font-weight:normal; |
||||
font-variant:small-caps; |
||||
text-align:center; |
||||
font-color:gray; |
||||
margin-bottom:5pt; |
||||
margin-top:5pt} |
||||
h2 { |
||||
font-size:large; |
||||
font-weight:normal; |
||||
font-variant:small-caps; |
||||
text-align:center; |
||||
margin-bottom:5pt; |
||||
margin-top:5pt} |
||||
|
||||
td.Themenspalte {font-size:9pt; |
||||
vertical-align:top; |
||||
text-align:right; |
||||
border-right:thin solid black} |
After Width: | Height: | Size: 1.8 KiB |
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
||||
<xsl:import href="../mwTemplates.xsl" /> |
||||
<xsl:template match="/mwTemplate"> |
||||
<xsl:apply-templates select="*" /> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
|
||||
|
||||
<xsl:template name="toc_head"> |
||||
<p align="right" margin="0" padding="0" class="klein"><a href="http://www.memtext.de" target="_top"><img src="mtklein.gif" border="0" alt="Zur Memtext-Homepage" /></a> |
||||
</p> |
||||
</xsl:template> |
||||
<xsl:template name="toc_foot"> |
||||
|
||||
</xsl:template> |
||||
|
||||
<xsl:template name="body_foot"> |
||||
<xsl:param name="pdf_file" /> |
||||
<xsl:param name="fokus" /> |
||||
<hr /> |
||||
<p align="right"><span style="font-size:smaller">Link zu dieser <a href="{$fokus}" target="_parent">Seite</a></span> | <span style="font-size:smaller">Druckversion <a href="__index.htm" target="_parent">HTML</a> | #pdf_file#</span></p> |
||||
<table width="100%" border ="0"><tr><td align = "left"><a href="http://www.memtext.de" target="_top"><img src="mtklein.gif" border="0" alt="Zur Memtext-Homepage" /></a></td> |
||||
<td align="left"> <a target="_parent" href="http://freemarker.org/"><img src="poweredby_freemarker.png" |
||||
alt="Powered by FreeMarker" border="0" /></a></td> |
||||
<td align="left"><a target="_blank" href="http://www.campussource.de"><img src="cslogo50x46w.gif" width="50" height="46" border="0" align="left" alt="SuperX ist auch ein CampusSource-Projekt. Zur CampusSource-Homepage" /></a></td> |
||||
<td align="right" class="klein"><xsl:text>Seite </xsl:text><xsl:value-of select="(@id+1)" /><xsl:text> / </xsl:text><xsl:value-of select="count(/Document/chapter)" /><br />Letzter Update: |
||||
<xsl:value-of select="format-dateTime(current-dateTime(),'[D].[M].[Y]')" /><br /><a class="klein" href="http://www.studio-fuer-textdesign.de/impressum.htm">Impressum</a> | <a class="klein" href="http://www.studio-fuer-textdesign.de/datenschutz_public.htm">Datenschutz</a></td></tr></table> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
After Width: | Height: | Size: 8.1 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 48 KiB |
@ -0,0 +1,105 @@
@@ -0,0 +1,105 @@
|
||||
<html> |
||||
<head><title>Suche</title> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
||||
<LINK REL="stylesheet" type="text/css" href="../bulma.css"></LINK> |
||||
<LINK REL="stylesheet" type="text/css" href="../superx.css"></LINK> |
||||
</head> |
||||
<script LANGUAGE="JavaScript" |
||||
src="index.htm.js"> |
||||
</script> |
||||
<script LANGUAGE="JavaScript" |
||||
src="search_db.js"> |
||||
</script> |
||||
<body onload="init_formular()"> |
||||
<section class="hero"> |
||||
<div class="hero-body"> |
||||
<div class="container"> |
||||
<h1 class="title"> |
||||
Volltext-Suche |
||||
</h1> |
||||
<h2 class="subtitle"> |
||||
Anm: Sie können nach Stichwörtern suchen. Mindestens eine Angabe ist notwendig. Nur Wörter ab 4 Zeichen können gefunden werden. |
||||
</h2> |
||||
</div> |
||||
</div> |
||||
</section> |
||||
|
||||
<form name="myform"> |
||||
|
||||
<div class="field is-horizontal"> |
||||
<div class="field-label is-normal"> |
||||
<label class="label">Suchbegriff(e)</label> |
||||
</div> |
||||
<div class="field-body"> |
||||
<div class="field"> |
||||
|
||||
<input class="input" name='Suchbegriff1' type="text" placeholder="Suchbegriff 1"> |
||||
|
||||
</div> |
||||
<div class="field"> |
||||
<div class="control"> |
||||
<div class="select"> |
||||
<select NAME="relation"> |
||||
<OPTION value='&&'>und</OPTION> |
||||
<OPTION value='||'>oder</OPTION> |
||||
<OPTION value='&!'>nicht</OPTION> |
||||
</select> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="field"> |
||||
|
||||
<input class="input" name='Suchbegriff2' type="text" placeholder="Suchbegriff 2"> |
||||
|
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
<div class="field is-horizontal"> |
||||
<div class="field-label is-normal"> |
||||
<label class="label"></label> |
||||
</div> |
||||
<div class="field-body"> |
||||
<div class="field"> |
||||
<div class="control"> |
||||
<label class="checkbox"> |
||||
<input type="checkbox" name="grossklein"> |
||||
Gross/Kleinschreibung beachten |
||||
</label> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="field is-horizontal"> |
||||
<div class="field-label is-normal"> |
||||
<label class="label"></label> |
||||
</div> |
||||
<div class="field-body"> |
||||
<div class="field is-grouped"> |
||||
<div class="control"> |
||||
<!--<button class="button" onclick="dataBase()">Suchen</button>--> |
||||
<!--<input type='button' name='Suchen' value='Suchen' onclick='dataBase()' />--> |
||||
<a class="button is-primary" onClick="dataBase()">Suchen</a> |
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
</form> |
||||
|
||||
<section class="section"> |
||||
<div class="container" > |
||||
|
||||
<div id="Ergebnis"> |
||||
Achtung: Suche funktioniert z.Zt. nicht. Bitte schalten Sie Javascript ein, und aktualisieren Sie die Seite. |
||||
|
||||
</div> |
||||
</div> |
||||
</section> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,192 @@
@@ -0,0 +1,192 @@
|
||||
<!-- Hide JavaScript from Java-Impaired Browsers |
||||
|
||||
var maxOrdnungen=Ds.length-1; |
||||
var maxFelder=Ds[1].length -1; |
||||
NS4 = (document.layers) ? true:false; // netscape 4
|
||||
IE4 = (document.all) ? true:false; // ie4+
|
||||
DOM = ((document.getElementById)&&(!IE4))?true:false; // ns6, ie5 etc.
|
||||
if (document.getElementsByTagName && !document.all) |
||||
document.all = document.getElementsByTagName("*"); //für NS6
|
||||
function init_formular() |
||||
{ |
||||
if (maxOrdnungen>0) |
||||
{ |
||||
var zielstring="<p>"+maxOrdnungen+" Seiten durchsuchbar."; |
||||
} |
||||
else |
||||
{ |
||||
var zielstring="<p>Achtung: Suche funktioniert z.Zt. nicht. Bitte schalten Sie Javascript ein, und aktualisieren Sie die Seite.</p>"; |
||||
} |
||||
if (NS4) |
||||
{ |
||||
with (document.Ergebnis.document)
|
||||
{ |
||||
open(); |
||||
write(zielstring); |
||||
close(); |
||||
} |
||||
} |
||||
else |
||||
{ |
||||
document.all.Ergebnis.innerHTML=zielstring; |
||||
} |
||||
} |
||||
function dataBase() { |
||||
var zieltext="<h2>Suchergebnis:</h2><hr><ol>"; |
||||
if (NS4)
|
||||
{ |
||||
var meinFormular=document.myform; |
||||
} |
||||
else |
||||
{ |
||||
var meinFormular=document.forms[0]; |
||||
} |
||||
|
||||
var i=2; |
||||
var reinDamit=false; |
||||
var grossklein=meinFormular.grossklein.checked; |
||||
var relation = meinFormular.relation[meinFormular.relation.selectedIndex].value; |
||||
var zaehler=0; |
||||
var LinkText=""; |
||||
//alert(recnum);
|
||||
|
||||
for (var i=2;i<=maxOrdnungen;i++) |
||||
{ |
||||
|
||||
reinDamit=false; |
||||
ausgefuellt1 = false; |
||||
ausgefuellt2 = false; |
||||
reinDamit1=false; |
||||
reinDamit2=false; |
||||
if (meinFormular.Suchbegriff1.value != "") |
||||
{ |
||||
ausgefuellt1 = true; |
||||
if(grossklein) |
||||
{ |
||||
if((ohneUmlaut(Ds[i][3]).indexOf(ohneUmlaut(meinFormular.Suchbegriff1.value)) != -1)) |
||||
{ |
||||
reinDamit1=true; |
||||
} |
||||
} |
||||
else |
||||
{ |
||||
if((ohneUmlaut(Ds[i][3]).toUpperCase().indexOf(ohneUmlaut(meinFormular.Suchbegriff1.value.toUpperCase())) != -1)) |
||||
{ |
||||
reinDamit1=true; |
||||
} |
||||
} |
||||
} |
||||
if (meinFormular.Suchbegriff2.value != "") |
||||
{ |
||||
ausgefuellt2 = true; |
||||
if(grossklein) |
||||
{ |
||||
if((ohneUmlaut(Ds[i][3]).indexOf(ohneUmlaut(meinFormular.Suchbegriff2.value)) != -1)) |
||||
{ |
||||
reinDamit2=true; |
||||
} |
||||
} |
||||
else |
||||
{ |
||||
if((ohneUmlaut(Ds[i][3]).toUpperCase().indexOf(ohneUmlaut(meinFormular.Suchbegriff2.value.toUpperCase())) != -1)) |
||||
{ |
||||
reinDamit2=true; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
|
||||
//Der erste Fall: Stichwort1 wird eingegeben, Stichwort 2 nicht
|
||||
if (ausgefuellt1==true && ausgefuellt2==false && (reinDamit1==true)) |
||||
{reinDamit=true;} |
||||
//Der zweite Fall: Stichwort1 wird eingegeben, Stichwort 2 auch
|
||||
if (eval("(ausgefuellt1==true && ausgefuellt2==true && ((reinDamit1==true)"+relation+"(reinDamit2==true)))")) |
||||
{reinDamit=true;} |
||||
if (reinDamit==true)
|
||||
{ |
||||
LinkText=""; |
||||
|
||||
//den Link in die Liste aufnehmen:
|
||||
for (var j=2;j<AnzFelder-1;j++)
|
||||
{ |
||||
LinkText+= Ds[i][j]+"; "; |
||||
} |
||||
|
||||
|
||||
zieltext+="<li><a href=\""+Ds[i][AnzFelder]+"\" target=\"_parent\">"+LinkText+"</a></li>"; |
||||
|
||||
zaehler++; |
||||
|
||||
} |
||||
|
||||
} //Der For-Schleife
|
||||
|
||||
if (zieltext=="<ol>") {zieltext="--Leider keine Einträge verfügbar.--";} |
||||
if (NS4) { |
||||
with (document.Ergebnis.document)
|
||||
{ |
||||
|
||||
open(); |
||||
write(zieltext); |
||||
close(); |
||||
} |
||||
} |
||||
else |
||||
{ |
||||
document.all.Ergebnis.innerHTML=zieltext+"</ol>"; |
||||
} |
||||
} //Ende Der Funktion
|
||||
|
||||
function ohneUmlaut(meiner) |
||||
{ |
||||
zeichen= new Array(); |
||||
zeichen[1] = new Array(); |
||||
zeichen[1][1]="ä"; |
||||
zeichen[1][2]="ä"; |
||||
zeichen[2] = new Array(); |
||||
zeichen[2][1]="ö"; |
||||
zeichen[2][2]="ö"; |
||||
zeichen[3] = new Array(); |
||||
zeichen[3][1]="ü"; |
||||
zeichen[3][2]="ü"; |
||||
zeichen[4] = new Array(); |
||||
zeichen[4][1]="Ä"; |
||||
zeichen[4][2]="Ä"; |
||||
zeichen[5] = new Array(); |
||||
zeichen[5][1]="Ö"; |
||||
zeichen[5][2]="Ö"; |
||||
zeichen[6] = new Array(); |
||||
zeichen[6][1]="Ü"; |
||||
zeichen[6][2]="&Uauml;"; |
||||
zeichen[7] = new Array(); |
||||
zeichen[7][1]="ß"; |
||||
zeichen[7][2]="ß"; |
||||
var zs=meiner; |
||||
for(var i=1;i<zeichen.length;i++) |
||||
{ |
||||
zs=ersetzen(zs,zeichen[i][1],zeichen[i][2]); |
||||
} |
||||
//if(zs != meiner) {alert(zs+","+meiner);}
|
||||
return zs; |
||||
|
||||
|
||||
}//Ende Der Funktion
|
||||
|
||||
function ersetzen(Quellstring,suchstring,ersetzstring) |
||||
{ |
||||
//ersetzt ein einem String eine gesuchte Zeichenfolge durch eine neue.
|
||||
//Wenn die Gesuchte nicht drin ist, wird die Ursprüngliche zurückgegeben.
|
||||
var s1=Quellstring; |
||||
var links=""; |
||||
var rechts=""; |
||||
var neu=""; |
||||
while (s1.indexOf(suchstring)!= -1) |
||||
{ |
||||
links=s1.substr(0,s1.indexOf(suchstring)); |
||||
rechts=s1.substring(s1.indexOf(suchstring)+suchstring.length,s1.length); |
||||
s1=links+ersetzstring+rechts; |
||||
} |
||||
return s1; |
||||
} |
||||
// End Hiding Script -->
|
@ -0,0 +1,912 @@
@@ -0,0 +1,912 @@
|
||||
/** |
||||
* CSS in this file is used by *all* skins (that have any CSS at all). Be |
||||
* careful what you put in here, since what looks good in one skin may not in |
||||
* another, but don't ignore the poor non-Monobook users either. |
||||
*/ |
||||
|
||||
/* Default style for semantic tags */ |
||||
abbr, acronym, .explain { |
||||
border-bottom: 1px dotted black; |
||||
cursor: help; |
||||
} |
||||
|
||||
/* Colored watchlist and recent changes numbers */ |
||||
.mw-plusminus-pos { color: #006400; } /* dark green */ |
||||
.mw-plusminus-neg { color: #8b0000; } /* dark red */ |
||||
.mw-plusminus-null { color: #aaa; } /* gray */ |
||||
|
||||
/* Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]], |
||||
[[Special:Watchlist/edit]] and in category listings */ |
||||
.allpagesredirect, .redirect-in-category, .watchlistredir { font-style: italic; } |
||||
|
||||
/* Comment and username portions of RC entries */ |
||||
span.comment { |
||||
font-style: italic; |
||||
} |
||||
|
||||
span.changedby { |
||||
font-size: 95%; |
||||
} |
||||
|
||||
/* Math */ |
||||
.texvc { |
||||
direction: ltr; |
||||
unicode-bidi: embed; |
||||
} |
||||
img.tex { vertical-align: middle; } |
||||
span.texhtml { font-family: serif; } |
||||
|
||||
/* add a bit of margin space between the preview and the toolbar */ |
||||
/* this replaces the ugly <p><br /></p> we used to insert into the page source */ |
||||
#wikiPreview.ontop { margin-bottom: 1em; } |
||||
|
||||
/* Stop floats from intruding into edit area in previews */ |
||||
#editform, #toolbar, #wpTextbox1 { |
||||
clear: both; |
||||
} |
||||
|
||||
div#mw-js-message { |
||||
margin: 1em 5%; |
||||
padding: 0.5em 2.5%; |
||||
border: solid 1px #ddd; |
||||
background-color: #fcfcfc; |
||||
} |
||||
|
||||
/* Edit section links */ |
||||
.editsection { |
||||
float: right; |
||||
margin-left: 5px; |
||||
} |
||||
|
||||
/** |
||||
* File histories |
||||
*/ |
||||
h2#filehistory { |
||||
clear: both; |
||||
} |
||||
|
||||
table.filehistory th, |
||||
table.filehistory td { |
||||
vertical-align: top; |
||||
} |
||||
table.filehistory th { |
||||
text-align: left; |
||||
} |
||||
table.filehistory td.mw-imagepage-filesize, |
||||
table.filehistory th.mw-imagepage-filesize { |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
table.filehistory td.filehistory-selected { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
/* |
||||
* rev_deleted stuff |
||||
*/ |
||||
li span.deleted, span.history-deleted { |
||||
text-decoration: line-through; |
||||
color: #888; |
||||
font-style: italic; |
||||
} |
||||
|
||||
/** |
||||
* Patrol stuff |
||||
*/ |
||||
.not-patrolled { |
||||
background-color: #ffa; |
||||
} |
||||
|
||||
.unpatrolled { |
||||
font-weight: bold; |
||||
color: red; |
||||
} |
||||
|
||||
div.patrollink { |
||||
font-size: 75%; |
||||
text-align: right; |
||||
} |
||||
|
||||
/** |
||||
* Forms |
||||
*/ |
||||
td.mw-label { text-align: right; } |
||||
td.mw-input { text-align: left; } |
||||
td.mw-submit { text-align: left; } |
||||
|
||||
td.mw-label { vertical-align: top; } |
||||
.prefsection td.mw-label { width: 20%; } |
||||
.prefsection table { width: 100%; } |
||||
td.mw-submit { white-space: nowrap; } |
||||
|
||||
table.mw-htmlform-nolabel td.mw-label { |
||||
width: 0 !important; |
||||
} |
||||
|
||||
tr.mw-htmlform-vertical-label td.mw-label { |
||||
text-align: left !important; |
||||
} |
||||
|
||||
input#wpSummary { |
||||
width: 80%; |
||||
} |
||||
|
||||
/** |
||||
* Image captions |
||||
*/ |
||||
.thumbcaption { text-align: left; } |
||||
.magnify { float: right; } |
||||
|
||||
/** |
||||
* Hidden categories |
||||
*/ |
||||
.mw-hidden-cats-hidden { display: none; } |
||||
.catlinks-allhidden { display: none; } |
||||
|
||||
/* Convenience links to edit block, delete and protect reasons */ |
||||
p.mw-ipb-conveniencelinks, p.mw-protect-editreasons, |
||||
p.mw-filedelete-editreasons, p.mw-delete-editreasons, |
||||
p.mw-revdel-editreasons { |
||||
font-size: 90%; |
||||
float: right; |
||||
} |
||||
|
||||
/* Search results */ |
||||
.searchresults { |
||||
} |
||||
|
||||
.searchresults p { |
||||
margin-left: 0.4em; |
||||
margin-top: 1em; |
||||
margin-bottom: 1.2em; |
||||
} |
||||
|
||||
div.searchresult { |
||||
font-size: 95%; |
||||
width: 38em; |
||||
} |
||||
|
||||
.mw-search-results { |
||||
margin-left: 0.4em; |
||||
} |
||||
|
||||
.mw-search-results li { |
||||
padding-bottom: 1em; |
||||
list-style: none; |
||||
list-style-image: none; |
||||
} |
||||
.mw-search-results li a { |
||||
font-size: 108%; |
||||
} |
||||
|
||||
.mw-search-result-data { |
||||
color: green; |
||||
font-size: 97%; |
||||
} |
||||
|
||||
.mw-search-formheader { |
||||
background-color: #f3f3f3; |
||||
margin-top: 1em; |
||||
border: 1px solid silver; |
||||
} |
||||
.mw-search-formheader div.search-types { |
||||
float: left; |
||||
padding-left: 0.25em; |
||||
} |
||||
.mw-search-formheader div.search-types ul { |
||||
margin: 0 !important; |
||||
padding: 0 !important; |
||||
list-style: none !important; |
||||
} |
||||
.mw-search-formheader div.search-types ul li { |
||||
float: left; |
||||
margin: 0; |
||||
padding: 0; |
||||
} |
||||
.mw-search-formheader div.search-types ul li a { |
||||
display: block; |
||||
padding: 0.5em; |
||||
} |
||||
.mw-search-formheader div.search-types ul li.current a { |
||||
color: #333333; |
||||
cursor: default; |
||||
} |
||||
.mw-search-formheader div.search-types ul li.current a:hover { |
||||
text-decoration: none; |
||||
} |
||||
.mw-search-formheader div.results-info { |
||||
float: right; |
||||
padding: 0.5em; |
||||
padding-right: 0.75em; |
||||
} |
||||
.mw-search-formheader div.results-info ul { |
||||
margin: 0 !important; |
||||
padding: 0 !important; |
||||
list-style: none !important; |
||||
} |
||||
.mw-search-formheader div.results-info ul li { |
||||
float: right; |
||||
margin: 0; |
||||
padding: 0; |
||||
} |
||||
fieldset#mw-searchoptions { |
||||
margin: 0; |
||||
padding-left: 0.75em !important; |
||||
padding-right: 0.75em !important; |
||||
padding-bottom: 0.5em !important; |
||||
padding-top: 0.5em !important; |
||||
border: none; |
||||
background-color: #f9f9f9; |
||||
border: 1px solid silver !important; |
||||
border-top-width: 0 !important; |
||||
} |
||||
fieldset#mw-searchoptions legend { |
||||
display: none; |
||||
} |
||||
fieldset#mw-searchoptions h4 { |
||||
padding: 0; |
||||
margin: 0; |
||||
float: left; |
||||
} |
||||
fieldset#mw-searchoptions div#mw-search-togglebox { |
||||
float: right; |
||||
} |
||||
|
||||
fieldset#mw-searchoptions div#mw-search-togglebox label { |
||||
margin-right: 0.25em; |
||||
} |
||||
fieldset#mw-searchoptions div#mw-search-togglebox input { |
||||
margin-left: 0.25em; |
||||
} |
||||
fieldset#mw-searchoptions table { |
||||
float: left; |
||||
margin-right: 3em; |
||||
} |
||||
fieldset#mw-searchoptions table td { |
||||
padding-right: 1em; |
||||
} |
||||
fieldset#mw-searchoptions div.divider { |
||||
clear: both; |
||||
border-bottom: 1px solid #DDDDDD; |
||||
padding-top: 0.5em; |
||||
margin-bottom: 0.5em; |
||||
} |
||||
|
||||
td#mw-search-menu { |
||||
padding-left:6em; |
||||
font-size:85%; |
||||
} |
||||
|
||||
div#mw-search-interwiki { |
||||
float: right; |
||||
width: 18em; |
||||
border-style: solid; |
||||
border-color: #AAAAAA; |
||||
border-width: 1px; |
||||
margin-top: 2ex; |
||||
} |
||||
|
||||
div#mw-search-interwiki li { |
||||
font-size: 95%; |
||||
} |
||||
|
||||
.mw-search-interwiki-more { |
||||
float: right; |
||||
font-size: 90%; |
||||
} |
||||
|
||||
div#mw-search-interwiki-caption { |
||||
text-align: center; |
||||
font-weight: bold; |
||||
font-size: 95%; |
||||
} |
||||
|
||||
.mw-search-interwiki-project { |
||||
font-size: 97%; |
||||
text-align: left; |
||||
padding-left: 0.2em; |
||||
padding-right: 0.15em; |
||||
padding-bottom: 0.2em; |
||||
padding-top: 0.15em; |
||||
background-color: #ececec; |
||||
border-top: 1px solid #BBBBBB; |
||||
} |
||||
|
||||
span.searchalttitle { |
||||
font-size: 95%; |
||||
} |
||||
|
||||
div.searchdidyoumean { |
||||
font-size: 127%; |
||||
margin-top: 0.8em; |
||||
/* Note that this color won't affect the link, as desired. */ |
||||
color: #c00; |
||||
} |
||||
|
||||
div.searchdidyoumean em { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
.searchmatch { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
|
||||
/* |
||||
* Advanced PowerSearch box |
||||
*/ |
||||
td#mw-search-togglebox { |
||||
text-align: right; |
||||
} |
||||
|
||||
table#mw-search-powertable { |
||||
width: 100%; |
||||
} |
||||
|
||||
form#powersearch { |
||||
clear: both; |
||||
} |
||||
|
||||
/* |
||||
* UserRights stuff |
||||
*/ |
||||
.mw-userrights-disabled { |
||||
color: #888; |
||||
} |
||||
|
||||
table.mw-userrights-groups * td,table.mw-userrights-groups * th { |
||||
padding-right: 1.5em; |
||||
} |
||||
|
||||
/* |
||||
* OpenSearch ajax suggestions |
||||
*/ |
||||
.os-suggest { |
||||
overflow: auto; |
||||
overflow-x: hidden; |
||||
position: absolute; |
||||
top: 0px; |
||||
left: 0px; |
||||
width: 0px; |
||||
background-color: white; |
||||
background-color: Window; |
||||
border-style: solid; |
||||
border-color: #AAAAAA; |
||||
border-width: 1px; |
||||
z-index:99; |
||||
font-size:95%; |
||||
} |
||||
|
||||
table.os-suggest-results { |
||||
font-size: 95%; |
||||
cursor: pointer; |
||||
border: 0; |
||||
border-collapse: collapse; |
||||
width: 100%; |
||||
} |
||||
|
||||
.os-suggest-result, .os-suggest-result-hl { |
||||
white-space: nowrap; |
||||
background-color: white; |
||||
background-color: Window; |
||||
color: black; |
||||
color: WindowText; |
||||
padding: 2px; |
||||
} |
||||
.os-suggest-result-hl, |
||||
.os-suggest-result-hl-webkit { |
||||
background-color: #4C59A6; |
||||
color: white; |
||||
} |
||||
.os-suggest-result-hl { |
||||
/* System colors are misimplemented in Safari 3.0 and earlier, |
||||
making highlighted text illegible... */ |
||||
background-color: Highlight; |
||||
color: HighlightText; |
||||
} |
||||
|
||||
.os-suggest-toggle { |
||||
position: relative; |
||||
left: 1ex; |
||||
font-size: 65%; |
||||
} |
||||
.os-suggest-toggle-def { |
||||
position: absolute; |
||||
top: 0px; |
||||
left: 0px; |
||||
font-size: 65%; |
||||
visibility: hidden; |
||||
} |
||||
|
||||
/* Page history styling */ |
||||
/* the auto-generated edit comments */ |
||||
.autocomment { color: gray; } |
||||
#pagehistory .history-user { |
||||
margin-left: 0.4em; |
||||
margin-right: 0.2em; |
||||
} |
||||
#pagehistory span.minor { |
||||
font-weight: bold; |
||||
} |
||||
#pagehistory li { |
||||
border: 1px solid white; |
||||
} |
||||
#pagehistory li.selected { |
||||
background-color: #f9f9f9; |
||||
border: 1px dashed #aaa; |
||||
} |
||||
|
||||
/** Generic minor/bot/newpage styling */ |
||||
.newpage, .minor, .bot { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
/* Special:Contributions styling */ |
||||
.mw-uctop { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
/* Special:ListGroupRights styling */ |
||||
table.mw-listgrouprights-table tr { |
||||
vertical-align: top; |
||||
} |
||||
.listgrouprights-revoked { |
||||
text-decoration: line-through; |
||||
} |
||||
|
||||
/* Special:Statistics styling */ |
||||
td.mw-statistics-numbers { |
||||
text-align: right; |
||||
} |
||||
|
||||
/* Special:SpecialPages styling */ |
||||
h4.mw-specialpagesgroup { |
||||
background-color: #dcdcdc; |
||||
padding: 2px; |
||||
margin: .3em 0em 0em 0em; |
||||
} |
||||
.mw-specialpagerestricted { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
#shared-image-dup, #shared-image-conflict { |
||||
font-style: italic; |
||||
} |
||||
|
||||
/* Special:EmailUser styling */ |
||||
table.mw-emailuser-table { |
||||
width: 98%; |
||||
} |
||||
td#mw-emailuser-sender, td#mw-emailuser-recipient { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
/* Special:Allpages styling */ |
||||
table.mw-allpages-table-form, table.mw-allpages-table-chunk { |
||||
width: 100%; |
||||
} |
||||
td.mw-allpages-alphaindexline { |
||||
text-align: right; |
||||
} |
||||
td.mw-allpages-nav, p.mw-allpages-nav { |
||||
text-align: right; |
||||
font-size: smaller; |
||||
margin-bottom: 1em; |
||||
} |
||||
table.mw-allpages-table-form tr { |
||||
vertical-align: top; |
||||
} |
||||
|
||||
/* Special:Prefixindex styling */ |
||||
table#mw-prefixindex-list-table, |
||||
table#mw-prefixindex-nav-table { |
||||
width: 98%; |
||||
} |
||||
td#mw-prefixindex-nav-form { |
||||
font-size: smaller; |
||||
margin-bottom: 1em; |
||||
text-align: right; |
||||
vertical-align: top; |
||||
} |
||||
|
||||
/* |
||||
* Recreating deleted page warning |
||||
* Reupload file warning |
||||
* Page protection warning |
||||
* incl. log entries for these warnings |
||||
*/ |
||||
div.mw-warning-with-logexcerpt { |
||||
padding: 3px; |
||||
margin-bottom: 3px; |
||||
border: 2px solid #2F6FAB; |
||||
clear: both; |
||||
} |
||||
div.mw-warning-with-logexcerpt ul li { |
||||
font-size: 90%; |
||||
} |
||||
|
||||
/* (show/hide) revision deletion links */ |
||||
span.mw-revdelundel-link, |
||||
strong.mw-revdelundel-link { |
||||
font-size: 90%; |
||||
} |
||||
span.mw-revdelundel-hidden, |
||||
input.mw-revdelundel-hidden { |
||||
visibility: hidden; |
||||
} |
||||
|
||||
td.mw-revdel-checkbox, th.mw-revdel-checkbox { |
||||
padding-right: 10px; |
||||
text-align: center; |
||||
} |
||||
|
||||
/* feed links */ |
||||
a.feedlink { |
||||
/* @embed */ |
||||
background: url("images/feed-icon.png") center left no-repeat; |
||||
padding-left: 16px; |
||||
} |
||||
|
||||
/* Plainlinks - this can be used to switch |
||||
* off special external link styling */ |
||||
.plainlinks a { |
||||
background: none !important; |
||||
padding: 0 !important; |
||||
} |
||||
|
||||
/* wikitable class for skinning normal tables |
||||
* keep on sync with commonPrint.css |
||||
*/ |
||||
table.wikitable { |
||||
margin: 1em 1em 1em 0; |
||||
background: #f9f9f9; |
||||
border: 1px #aaa solid; |
||||
border-collapse: collapse; |
||||
color: black; |
||||
} |
||||
.wikitable th, .wikitable td { |
||||
border: 1px #aaa solid; |
||||
padding: 0.2em; |
||||
} |
||||
.wikitable th { |
||||
background: #f2f2f2; |
||||
text-align: center; |
||||
} |
||||
.wikitable caption { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
/* hide initially collapsed collapsable tables */ |
||||
table.collapsed tr.collapsable { |
||||
display: none; |
||||
} |
||||
|
||||
/* success and error messages */ |
||||
.success { |
||||
color: green; |
||||
font-size: larger; |
||||
} |
||||
.error { |
||||
color: red; |
||||
font-size: larger; |
||||
} |
||||
.errorbox, .successbox { |
||||
font-size: larger; |
||||
border: 2px solid; |
||||
padding: .5em 1em; |
||||
float: left; |
||||
margin-bottom: 2em; |
||||
color: #000; |
||||
} |
||||
.errorbox { |
||||
border-color: red; |
||||
background-color: #fff2f2; |
||||
} |
||||
.successbox { |
||||
border-color: green; |
||||
background-color: #dfd; |
||||
} |
||||
.errorbox h2, .successbox h2 { |
||||
font-size: 1em; |
||||
font-weight: bold; |
||||
display: inline; |
||||
margin: 0 .5em 0 0; |
||||
border: none; |
||||
} |
||||
|
||||
/* Note on preview page */ |
||||
.previewnote { |
||||
color: #c00; |
||||
margin-bottom: 1em; |
||||
} |
||||
|
||||
.previewnote p { |
||||
text-indent: 3em; |
||||
margin: 0.8em 0; |
||||
} |
||||
|
||||
.visualClear { |
||||
clear: both; |
||||
} |
||||
|
||||
#mw_trackbacks { |
||||
border: solid 1px #bbbbff; |
||||
background-color: #eeeeff; |
||||
padding: 0.2em; |
||||
} |
||||
|
||||
/* |
||||
Table pager (e.g. Special:ListFiles) |
||||
- remove underlines from the navigation link |
||||
- collapse borders |
||||
- set the borders to outsets (similar to Special:AllMessages) |
||||
- remove line wrapping for all td and th, set background color |
||||
- restore line wrapping for the last two table cells (description and size) |
||||
*/ |
||||
.TablePager { |
||||
min-width: 80%; |
||||
border-collapse: collapse; |
||||
} |
||||
.TablePager_nav a { |
||||
text-decoration: none; |
||||
} |
||||
.TablePager, .TablePager td, .TablePager th { |
||||
border: 1px solid #aaaaaa; |
||||
padding: 0 0.15em 0 0.15em; |
||||
} |
||||
.TablePager th { |
||||
background-color: #eeeeff; |
||||
} |
||||
.TablePager td { |
||||
background-color: #ffffff; |
||||
} |
||||
.TablePager tr:hover td { |
||||
background-color: #eeeeff; |
||||
} |
||||
|
||||
.imagelist td, .imagelist th { |
||||
white-space: nowrap; |
||||
} |
||||
.imagelist .TablePager_col_links { |
||||
background-color: #eeeeff; |
||||
} |
||||
.imagelist .TablePager_col_img_description { |
||||
white-space: normal; |
||||
} |
||||
.imagelist th.TablePager_sort { |
||||
background-color: #ccccff; |
||||
} |
||||
|
||||
/* Allmessages table */ |
||||
#mw-allmessagestable .allmessages-customised td.am_default { |
||||
background-color: #fcffc4; |
||||
} |
||||
|
||||
#mw-allmessagestable tr.allmessages-customised:hover td.am_default { |
||||
background-color: #faff90; |
||||
} |
||||
|
||||
#mw-allmessagestable td.am_actual { |
||||
background-color: #e2ffe2; |
||||
} |
||||
|
||||
#mw-allmessagestable tr.allmessages-customised:hover + tr.allmessages-customised td.am_actual { |
||||
background-color: #b1ffb1; |
||||
} |
||||
|
||||
/* filetoc */ |
||||
ul#filetoc { |
||||
text-align: center; |
||||
border: 1px solid #aaaaaa; |
||||
background-color: #f9f9f9; |
||||
padding: 5px; |
||||
font-size: 95%; |
||||
margin-bottom: 0.5em; |
||||
margin-left: 0; |
||||
margin-right: 0; |
||||
} |
||||
|
||||
#filetoc li { |
||||
display: inline; |
||||
list-style-type: none; |
||||
padding-right: 2em; |
||||
} |
||||
|
||||
/* Classes for EXIF data display */ |
||||
table.mw_metadata { |
||||
font-size: 0.8em; |
||||
margin-left: 0.5em; |
||||
margin-bottom: 0.5em; |
||||
width: 300px; |
||||
} |
||||
|
||||
table.mw_metadata caption { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
table.mw_metadata th { |
||||
font-weight: normal; |
||||
} |
||||
|
||||
table.mw_metadata td { |
||||
padding: 0.1em; |
||||
} |
||||
|
||||
table.mw_metadata { |
||||
border: none; |
||||
border-collapse: collapse; |
||||
} |
||||
|
||||
table.mw_metadata td, table.mw_metadata th { |
||||
text-align: center; |
||||
border: 1px solid #aaaaaa; |
||||
padding-left: 0.1em; |
||||
padding-right: 0.1em; |
||||
} |
||||
|
||||
table.mw_metadata th { |
||||
background-color: #f9f9f9; |
||||
} |
||||
|
||||
table.mw_metadata td { |
||||
background-color: #fcfcfc; |
||||
} |
||||
|
||||
/* Galleries */ |
||||
/* These display attributes look nonsensical, but are needed to support IE and FF2 */ |
||||
/* Don't forget to update commonPrint.css */ |
||||
li.gallerybox { |
||||
vertical-align: top; |
||||
background-color: #f9f9f9; |
||||
border: solid 2px white; |
||||
display: -moz-inline-box; |
||||
} |
||||
|
||||
ul.gallery, li.gallerybox { |
||||
display: inline-block; |
||||
zoom: 1; |
||||
*display: inline; |
||||
} |
||||
|
||||
ul.gallery { |
||||
margin: 2px; |
||||
padding: 2px; |
||||
display: block; |
||||
} |
||||
|
||||
li.gallerycaption { |
||||
font-weight: bold; |
||||
text-align: center; |
||||
display: block; |
||||
word-wrap: break-word; |
||||
} |
||||
|
||||
li.gallerybox div.thumb { |
||||
text-align: center; |
||||
border: 1px solid #ccc; |
||||
margin: 2px; |
||||
} |
||||
|
||||
div.gallerytext { |
||||
overflow: hidden; |
||||
font-size: 94%; |
||||
padding: 2px 4px; |
||||
word-wrap: break-word; |
||||
} |
||||
|
||||
table.mw-enhanced-rc { |
||||
background: none; |
||||
border:0; |
||||
border-spacing:0; |
||||
} |
||||
td.mw-enhanced-rc { |
||||
white-space:nowrap; |
||||
padding:0; |
||||
vertical-align:top; |
||||
font-family:monospace |
||||
} |
||||
|
||||
#mw-addcategory-prompt { |
||||
display: inline; |
||||
margin-left: 1em; |
||||
} |
||||
|
||||
#mw-addcategory-prompt input { |
||||
margin-left: 0.5em; |
||||
margin-right: 0.5em; |
||||
} |
||||
|
||||
.mw-remove-category { |
||||
padding: 8px; |
||||
/* @embed */ |
||||
background-image: url(images/remove.png); |
||||
background-position: center center; |
||||
background-repeat: no-repeat; |
||||
} |
||||
|
||||
.mw-ajax-addcategory { |
||||
padding-left: 20px; |
||||
/* @embed */ |
||||
background-image: url(images/add.png); |
||||
background-position: left center; |
||||
background-repeat: no-repeat; |
||||
} |
||||
|
||||
.mw-ajax-loader { |
||||
/* @embed */ |
||||
background-image: url(images/ajax-loader.gif); |
||||
background-position: center center; |
||||
background-repeat: no-repeat; |
||||
padding: 16px; |
||||
position: relative; |
||||
top: -16px; |
||||
} |
||||
|
||||
.mw-small-spinner { |
||||
padding: 10px !important; |
||||
margin-right: 0.6em; |
||||
/* @embed */ |
||||
background-image: url(images/spinner.gif); |
||||
background-position: center center; |
||||
background-repeat: no-repeat; |
||||
} |
||||
|
||||
/* Sort arrows added by SortableTables */ |
||||
a.sortheader { |
||||
margin: 0 0.3em; |
||||
} |
||||
|
||||
/* Localised ordered list numbering for some languages */ |
||||
ol:lang(bcc) li, |
||||
ol:lang(bqi) li, |
||||
ol:lang(fa) li, |
||||
ol:lang(glk) li, |
||||
ol:lang(kk-arab) li, |
||||
ol:lang(mzn) li { |
||||
list-style-type: -moz-persian; |
||||
list-style-type: persian; |
||||
} |
||||
|
||||
ol:lang(ckb) li { |
||||
list-style-type: -moz-arabic-indic; |
||||
list-style-type: arabic-indic; |
||||
} |
||||
|
||||
ol:lang(bn) li { |
||||
list-style-type: -moz-bengali; |
||||
list-style-type: bengali; |
||||
} |
||||
|
||||
/* tooltip styles */ |
||||
.mw-help-field-hint { |
||||
display: none; |
||||
padding: 0px; |
||||
padding-left: 15px; |
||||
margin-left: 2px; |
||||
margin-bottom: -8px; |
||||
/* @embed */ |
||||
background-image: url('images/help-question.gif'); |
||||
background-position: left center; |
||||
background-repeat: no-repeat; |
||||
color: #0645ad; |
||||
text-decoration: underline; |
||||
cursor: pointer; |
||||
font-size: .8em; |
||||
} |
||||
.mw-help-field-hint:hover { |
||||
/* @embed */ |
||||
background-image: url('images/help-question-hover.gif'); |
||||
} |
||||
.mw-help-field-data { |
||||
display: block; |
||||
background-color: #d6f3ff; |
||||
padding:5px 8px 4px 8px; |
||||
border: 1px solid #5dc9f4; |
||||
margin-left: 20px; |
||||
} |
||||
.tipsy { padding: 5px 5px 10px; font-size: 12px; position: absolute; z-index: 100000; overflow: visible; } |
||||
.tipsy-inner { padding: 5px 8px 4px 8px; background-color: #d6f3ff; color: black; border: 1px solid #5dc9f4; max-width: 300px; text-align: left; } |
||||
.tipsy-arrow { position: absolute; /* @embed */ background: url( 'images/tipsy-arrow.gif' ) no-repeat top left; width: 13px; height: 13px; } |
||||
.tipsy-se .tipsy-arrow { bottom: -2px; right: 10px; background-position: 0% 100%; } |
||||
|
||||
|
After Width: | Height: | Size: 241 B |
After Width: | Height: | Size: 258 B |
@ -0,0 +1,444 @@
@@ -0,0 +1,444 @@
|
||||
body { |
||||
background-color: white; color:black; /* margin-right: 10px; */ |
||||
/* background-image:url("briefpapier_hellgrau.gif"); */ |
||||
padding-right:10px; |
||||
font-family: Verdana,Arial,Helvetica,sans-serif; |
||||
/* font-size:11pt; */ |
||||
padding-top:20px; |
||||
padding-left:20px; |
||||
} |
||||
body.topicframe |
||||
{background-color: #CCCCCC; |
||||
background-image:url("blaubck.jpg"); |
||||
color:black; margin-right: 1px; |
||||
padding-right:1px;} |
||||
|
||||
img { border-style:none; |
||||
} |
||||
.align-center{ |
||||
text-align:center; |
||||
} |
||||
.EmbeddedChapter{ |
||||
font-size:110%;font-style: bold; |
||||
padding: 25px 0px 10px 0px |
||||
} |
||||
div.ImagePara div img{ |
||||
text-align:center; |
||||
border-style:solid; |
||||
border-width:1px; |
||||
border-color: black; |
||||
background-color: #E6E6E6; |
||||
padding: 5px 5px 5px 5px; |
||||
} |
||||
div.ImagePara a div img{ |
||||
text-align:center; |
||||
border-style:solid; |
||||
border-width:1px; |
||||
border-color: black; |
||||
background-color: #E6E6E6; |
||||
padding: 5px 5px 5px 5px; |
||||
} |
||||
|
||||
div.ImagePara div{ |
||||
text-align:center; |
||||
} |
||||
div.ImagePara a div{ |
||||
text-align:center; |
||||
} |
||||
|
||||
.ImagePara{ |
||||
text-align:center; |
||||
padding: 15px 15px 25px 15px; |
||||
} |
||||
|
||||
.SyntaxPara, .SyntaxPara_borderStart, .SyntaxPara_borderEnd{ |
||||
padding: 0px 10px 0px 10px; |
||||
margin: 1px 100px 0px 20px; |
||||
background-color: #E6E6E6; |
||||
font-family: monospace; |
||||
font-size:90%; |
||||
} |
||||
|
||||
ul { list-style-image:url("gr_arrow.gif"); |
||||
margin:1px} |
||||
.Group {color: "black"; |
||||
text-align: right; |
||||
list-style-type: none; |
||||
list-style-image:none; |
||||
margin:1px; |
||||
padding:1px |
||||
} |
||||
td { /* border: 1px solid black; margin:5px; */ |
||||
} |
||||
TD.Subgroup { |
||||
border-style:solid |
||||
} |
||||
UL.Second { margin-left:10px; |
||||
list-style-image:url("punkt1b.gif"); |
||||
margin-bottom:1px |
||||
} |
||||
UL.mainlink { margin-left:20px; |
||||
list-style-image:url("logomini.gif"); |
||||
margin-bottom:20px; |
||||
padding:10px |
||||
} |
||||
LI.mainli {border:50px} |
||||
li.klein {font-size:small} |
||||
TABLE {margin-left: 1em; |
||||
margin-right: 1em} |
||||
a.group:link { margin: 1px; font-size:xx-small } |
||||
a.group:visited { margin: 1px;font-size:xx-small } |
||||
a.group:active { margin: 1px;font-size:xx-small } |
||||
a.tabellenheader:link { color:black; text-decoration:underline; } |
||||
a.tabellenheader:visited { color:black; text-decoration:underline; } |
||||
a.tabellenheader:active { color:black; text-decoration:underline; } |
||||
a.fokus:link { background-color:white;color:"#0000A0"; text-decoration:underline;font-style: bold } |
||||
a.fokus:visited { background-color:white; color:"#0000A0"; text-decoration:underline } |
||||
a.fokus:active { background-color:white;color:red; text-decoration:underline } |
||||
a.gelb:link { color:yellow; text-decoration:underline;font-style: bold } |
||||
a.gelb:visited { color:yellow; text-decoration:underline } |
||||
a.gelb:active { color:red; text-decoration:underline } |
||||
a:link { color:blue; text-decoration:none } |
||||
a:visited { color:blue; text-decoration:none } |
||||
a:active { background-color:white;color:blue; text-decoration:none } |
||||
a.topic2:link { color:black; text-decoration:none } |
||||
a.topic2:visited { color:black; text-decoration:none } |
||||
a.topic2:active { color:blue; text-decoration:none } |
||||
a.topic2:hover { color:red; text-decoration:none} |
||||
|
||||
/*Überschriften mit unterschiedlich großen Abständen nach oben, unten und links */ |
||||
h1 {color: black; |
||||
font-size:220%; |
||||
display:block; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: black; |
||||
margin: 40px 0 20px 30px;} |
||||
h2 {color: black; |
||||
font-size:190%; |
||||
display:block; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: black; |
||||
margin: 30px 0 20px 20px;} |
||||
h3 {color: black; |
||||
font-size:160%; |
||||
display:block; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: black; |
||||
margin: 30px 0 20px 20px;} |
||||
h4 {color: black; |
||||
font-size:155%; |
||||
display:block; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: black; |
||||
margin: 20px 0 10px 10px;} |
||||
h5 {color: black; |
||||
font-size:140%; |
||||
display:block; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: black; |
||||
margin: 20px 0 10px 10px;} |
||||
h6 {color: black; |
||||
font-size:130%; |
||||
display:block; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: black; |
||||
margin: 10px 0 10px 10px;} |
||||
|
||||
H1.main {margin-left:5px; |
||||
margin-bottom:1px; |
||||
padding-bottom:1px} |
||||
p.main {margin-left:5px; |
||||
margin-bottom:1px; |
||||
padding-bottom:1px} |
||||
p.normal, p.Standard {margin-left:5px; |
||||
margin-bottom:1px; |
||||
padding-bottom:1px; |
||||
/* font-size:11pt; */} |
||||
p {margin-left:5px; |
||||
margin-bottom:1px; |
||||
padding-bottom:1px; |
||||
font-size: 16px; } |
||||
|
||||
p.marginalie {text-align:right; |
||||
font-weight:bold; |
||||
/* font-size:11pt */} |
||||
p.title {text-align:center; |
||||
font-size:bigger; |
||||
font-weight:bolder} |
||||
p.BulletedList |
||||
{ |
||||
margin:1px 0 1px 0px; |
||||
padding:1px 0 1px 0px; |
||||
} |
||||
/*die foglende SPAN ist der Punkt in BulletedList*/ |
||||
span.Numbering_20_Symbols |
||||
{ padding: 0 5px 0 10px |
||||
} |
||||
|
||||
p.ScreenOnly |
||||
{ |
||||
text-align:right; |
||||
} |
||||
p.tabellenzeile |
||||
{ |
||||
text-align:left; |
||||
/* font-size:11pt */ |
||||
} |
||||
|
||||
td.leer |
||||
{width:100px} |
||||
|
||||
.Tabellentext { |
||||
padding-left: 5px;padding-right: 5px; |
||||
border-width : medium; border-style: hidden; |
||||
font-size: small; |
||||
color: black; background-color : white; |
||||
vertical-align: top |
||||
} |
||||
.Topictext { |
||||
/* font-size: 11px; */ |
||||
color: black; |
||||
} |
||||
.Tabellenlinks { |
||||
vertical-align: top; |
||||
text-align:center; |
||||
border-width : thick; |
||||
border-style: hidden; |
||||
font-style: oblique; |
||||
font-size: large; color: blue; |
||||
background-color : white |
||||
} |
||||
.Tabellenfokus { |
||||
border-style: hidden; |
||||
font-size: x-large; |
||||
text-align:center; |
||||
height: 25px; |
||||
color: black; |
||||
background-color : white; |
||||
} |
||||
.Tabellenerlaeuterung { |
||||
vertical-align: top; |
||||
text-align:center; |
||||
border-width : thick; |
||||
border-style: hidden; |
||||
height: 25px; |
||||
font-style: oblique; |
||||
font-size: medium; |
||||
color: black; background-color : white; |
||||
background-image: |
||||
} |
||||
.Topics { |
||||
/* font-size: 11px; */ |
||||
color: blue; |
||||
text-align:right; |
||||
margin-right: 0px |
||||
} |
||||
|
||||
|
||||
.note { margin: 30px; |
||||
padding: 30px; |
||||
font-size: 14px; |
||||
border: 1px solid black; |
||||
width: 400px; |
||||
background-color:#EEFF44;} |
||||
|
||||
|
||||
.Kurztitel {font-size:larger} |
||||
.Langtitel {font-size:normal; |
||||
font-weight:normal} |
||||
.sgKurztitel {font-size:large} |
||||
.sgLangtitel {font-weight:normal} |
||||
.Funktion {font-weight:bold} |
||||
.Person {font-style:normal} |
||||
.UeberschriftLeitung { |
||||
font-size:large; |
||||
} |
||||
td.detail {border-left: thin solid gray} |
||||
td.Themenspalte {font-size:9pt; |
||||
vertical-align:top; |
||||
text-align:right; |
||||
border-right:thin solid black} |
||||
li.Tabellenbox |
||||
{ |
||||
background-color:rgb(90%,90%,90%); |
||||
border: thin solid silver; |
||||
text-align:left; |
||||
margin-top:12px |
||||
} |
||||
p.Tabellenbox |
||||
{ |
||||
background-color:rgb(90%,90%,90%); |
||||
border: thin solid silver; |
||||
text-align:center; |
||||
height:160px |
||||
} |
||||
p.Schattiert |
||||
{ |
||||
|
||||
background-color:rgb(250,250,250); |
||||
border: none; |
||||
text-align:center |
||||
} |
||||
p.Linkbox |
||||
{ |
||||
background-color:rgb(122,224,255); |
||||
border: none; |
||||
text-align:center |
||||
} |
||||
td.klein |
||||
{ |
||||
font-size:smaller |
||||
}#footer { } |
||||
td.navi |
||||
{ |
||||
background-color:rgb(230,230,230); |
||||
text-align:center |
||||
} |
||||
span.Schluesselwort |
||||
{ |
||||
font-weight:bold |
||||
} |
||||
span.blass |
||||
{ |
||||
color:gray |
||||
} |
||||
span.Hyperlink |
||||
{ |
||||
color:blue |
||||
} |
||||
|
||||
p.mtBox |
||||
{ |
||||
border-top:thin solid gray; |
||||
text-align:right |
||||
} |
||||
|
||||
span.schwarz |
||||
{ |
||||
background-color:rgb(20%,20%,90%); |
||||
color:white; |
||||
font-family:monospace; |
||||
font-weight:bold |
||||
} |
||||
span.weiss |
||||
{ |
||||
background-color:rgb(50%,50%,90%); |
||||
color:white; |
||||
font-family:monospace; |
||||
font-weight:bold |
||||
} |
||||
a.mtBox:link |
||||
{ |
||||
text-decoration:none; |
||||
font-family:monospace |
||||
} |
||||
a.mtBox:visited |
||||
{ |
||||
text-decoration:none; |
||||
font-family:monospace |
||||
} |
||||
|
||||
li.listlevel0 { |
||||
margin-left:1pt; |
||||
padding-left:1px; |
||||
margin-top:1pt; |
||||
margin-bottom:1pt; |
||||
list-style-type:none |
||||
} |
||||
|
||||
li.listlevel1 { |
||||
margin-left:1pt; |
||||
padding-left:0pt; |
||||
margin-top:5pt; |
||||
margin-bottom:1pt |
||||
} |
||||
|
||||
li.listlevel2 { |
||||
margin-left:20pt; |
||||
padding-left:0pt; |
||||
margin-top:1pt; |
||||
margin-bottom:0pt |
||||
} |
||||
|
||||
li.listlevel3 { |
||||
margin-left:4pt; |
||||
padding-left:0pt; |
||||
margin-top:0pt; |
||||
margin-bottom:0pt |
||||
} |
||||
li.listlevel4 { |
||||
margin-left:4pt; |
||||
padding-left:0pt; |
||||
margin-top:0pt; |
||||
margin-bottom:0pt |
||||
} |
||||
li.listlevel5 { |
||||
margin-left:3pt; |
||||
padding-left:0pt; |
||||
margin-top:0pt; |
||||
margin-bottom:0pt |
||||
} |
||||
|
||||
|
||||
|
||||
table.topbar |
||||
{ |
||||
background-repeat:no-repeat; |
||||
background-image:url("images/ruler.gif"); |
||||
} |
||||
span.Syntax |
||||
{ |
||||
font-family:courier, monospace |
||||
} |
||||
p.Tabellenzeile |
||||
{ |
||||
padding-left:2px; |
||||
padding-right:2px; |
||||
} |
||||
ol |
||||
{ |
||||
list-style-type:decimal; |
||||
list-style-position:outside; |
||||
|
||||
} |
||||
|
||||
td.Table2ColBorderCell |
||||
{ |
||||
border:thin solid silver; |
||||
} |
||||
|
||||
td.TableCell |
||||
{ |
||||
border:thin solid gray; |
||||
} |
||||
span.chapterNumber |
||||
{ |
||||
text-shadow:black 3px 2px 4px; font-size:1.5em; color:gray; |
||||
} |
||||
|
||||
table.wikitable { |
||||
margin: 1em 1em 1em 0; |
||||
background: #f9f9f9; |
||||
border: 1px #aaa solid; |
||||
border-collapse: collapse; |
||||
color: black; |
||||
} |
||||
.wikitable th, .wikitable td { |
||||
border: 1px #aaa solid; |
||||
padding: 0.2em; |
||||
} |
||||
.wikitable th { |
||||
background: #f2f2f2; |
||||
text-align: center; |
||||
} |
||||
.wikitable caption { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
span.siehe_auch { |
||||
display:block; |
||||
border: thin solid gray; |
||||
} |
||||
span.siehe_auch:before{ |
||||
content:"Siehe auch:"; |
||||
} |
||||
span.hinweis { |
||||
display:block; |
||||
border: thin solid silver; |
||||
margin:1em; |
||||
} |
||||
span.hinweis:before{ |
||||
content:"Hinweis:"; |
||||
} |
||||
span.categoryPrefix{ |
||||
color:gray; |
||||
} |
||||
span.categoryPrefix:before { content:"\2022"; } |
After Width: | Height: | Size: 28 KiB |
@ -0,0 +1,61 @@
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet version="2.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
||||
xmlns:outline="http://wkhtmltopdf.org/outline" |
||||
xmlns="http://www.w3.org/1999/xhtml"> |
||||
<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" |
||||
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" |
||||
indent="yes" /> |
||||
<xsl:template match="outline:outline"> |
||||
<html> |
||||
<head> |
||||
<title>Table of Contents</title> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
||||
<style> |
||||
h1 { |
||||
text-align: center; |
||||
font-size: 20px; |
||||
font-family: arial; |
||||
} |
||||
div {border-bottom: 1px dashed rgb(200,200,200);} |
||||
span {float: right;} |
||||
li {list-style: none;} |
||||
ul { |
||||
font-size: 20px; |
||||
font-family: arial; |
||||
} |
||||
ul ul {font-size: 80%; } |
||||
ul {padding-left: 0em;} |
||||
ul ul {padding-left: 1em;} |
||||
a {text-decoration:none; color: black;} |
||||
</style> |
||||
</head> |
||||
<body> |
||||
<h1>Inhaltsverzeichnis</h1> |
||||
<ul><xsl:apply-templates select="outline:item/outline:item"/></ul> |
||||
</body> |
||||
</html> |
||||
</xsl:template> |
||||
<xsl:template match="outline:item"> |
||||
<li> |
||||
<xsl:if test="@title!=''"> |
||||
<div> |
||||
<a> |
||||
<xsl:if test="@link"> |
||||
<xsl:attribute name="href"><xsl:value-of select="@link"/></xsl:attribute> |
||||
</xsl:if> |
||||
<xsl:if test="@backLink"> |
||||
<xsl:attribute name="name"><xsl:value-of select="@backLink"/></xsl:attribute> |
||||
</xsl:if> |
||||
<xsl:value-of select="@title" /> |
||||
</a> |
||||
<span> <xsl:value-of select="@page" /> </span> |
||||
</div> |
||||
</xsl:if> |
||||
<ul> |
||||
<xsl:comment>added to prevent self-closing tags in QtXmlPatterns</xsl:comment> |
||||
<xsl:apply-templates select="outline:item"/> |
||||
</ul> |
||||
</li> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:sql="org.apache.xalan.lib.sql.XConnection" extension-element-prefixes="sql"> |
||||
<!-- Script zur Erzeugung der html-Dokumentation eines SuperX-Moduls |
||||
Autor Daniel Quathamer |
||||
Letzte Aenderung: 25.2.2005 |
||||
--> |
||||
|
||||
<xsl:output method="xml" indent="yes"/> |
||||
<xsl:template match="/"> |
||||
|
||||
<xsl:for-each select ="/office:document-content/office:body/office:text/text:p"> |
||||
|
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
|
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,188 @@
@@ -0,0 +1,188 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" /> |
||||
<xsl:param name="pdf_file" /> |
||||
<xsl:output method="html" name="html"/> |
||||
|
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="bodyfile" select="concat($targetpath,'/',fileName,'.htm')"/> |
||||
<xsl:variable name="deeplinkpath" select="concat('http://www.superx-projekt.de',substring-after($targetpath,'webapps/superx'))"/> |
||||
|
||||
Generiere <xsl:value-of select="$bodyfile"/> in <xsl:value-of select="$targetpath"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$bodyfile}" format="html" |
||||
method="html"> |
||||
<xsl:variable name="prev"> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@prev" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="next"> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@next" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<html> |
||||
<head><title><xsl:value-of select="name"/></title> |
||||
<META NAME = "author" content = "Daniel Quathamer"></META> |
||||
<META NAME = "copyright" content = "{concat('(c) ',format-dateTime(current-dateTime(),'[Y]'),' Daniel Quathamer')}"></META> |
||||
<META NAME = "date" content ="{format-dateTime(current-dateTime(),'[D].[M].[Y]')}"></META> |
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
||||
<LINK REL = "Start" href = "main.htm"></LINK> |
||||
<LINK REL = "Next" href="{$next}" /> |
||||
<LINK REL = "Prev" href="{$prev}" /> |
||||
<LINK REL = "Fokus" href="{$deeplinkpath}"/> |
||||
<style type="text/css"><xsl:text> |
||||
</xsl:text> |
||||
<xsl:value-of select="/Document/style"/> |
||||
</style> |
||||
<LINK REL="stylesheet" type="text/css" href="superx.css"></LINK> |
||||
<base target="_parent" /> |
||||
</head> |
||||
<body> |
||||
<!--andre: hier navi-template aufrufen--> |
||||
<xsl:variable name="header_tagname"> |
||||
<xsl:choose> |
||||
<xsl:when test="@level=0"> |
||||
<xsl:text>h1</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="concat('h',@level)"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:element name="{$header_tagname}"><xsl:if test="chapterNumber != ''"><span class="chapterNumber"> |
||||
<xsl:value-of select="chapterNumber"/></span><xsl:text> </xsl:text></xsl:if> |
||||
<xsl:value-of select="name"/></xsl:element> |
||||
<xsl:variable name="bodyText"> |
||||
<xsl:value-of select="body"/> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$bodyText='#empty#'"> |
||||
<xsl:variable name="currentId"> |
||||
<xsl:value-of select="@id"/> |
||||
</xsl:variable> |
||||
<xsl:for-each select="/Document/chapter[@parent=$currentId]"> |
||||
<p><xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@id" /> |
||||
<xsl:with-param name="caption" select="name" /> |
||||
</xsl:call-template> |
||||
</p> |
||||
</xsl:for-each> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:copy-of select="$bodyText"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
<div id="navi" class="navi" style="POSITION: relative;"> |
||||
<table border = "0" width = "100%"><tr> |
||||
<!--prev--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@prev" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_previous.svg'" /> |
||||
<xsl:with-param name="caption" select="'Vorherige'" /> |
||||
</xsl:call-template> |
||||
<!--Hoch--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="0" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_up.svg'" /> |
||||
<xsl:with-param name="caption" select="'Hoch'" /> |
||||
</xsl:call-template> |
||||
<!--Search--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetHref"><xsl:text>javascript:document.location=('search/index.htm');</xsl:text></xsl:with-param> |
||||
<xsl:with-param name="imgSrc" select="'resultset_search.svg'" /> |
||||
<xsl:with-param name="caption" select="'Suche'" /> |
||||
<xsl:with-param name="target" select="'_self'" /> |
||||
</xsl:call-template> |
||||
<!--next--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@next" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_next.svg'" /> |
||||
<xsl:with-param name="caption" select="'Nächste'" /> |
||||
</xsl:call-template> |
||||
|
||||
</tr> |
||||
</table> |
||||
</div> |
||||
<xsl:variable name="fokus"><xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@id" /> |
||||
</xsl:call-template></xsl:variable> |
||||
<xsl:call-template name="body_foot" > |
||||
<xsl:with-param name="pdf_file" select="$pdf_file" /> |
||||
<xsl:with-param name="fokus" select="concat('#targetpath#/',$fokus)" /> |
||||
</xsl:call-template> |
||||
</body> |
||||
</html> |
||||
</xsl:result-document> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getFilename"> |
||||
<xsl:param name="id" /> |
||||
<xsl:value-of select="concat('f_',/Document/chapter[@id=$id]/fileName,'.htm')"/> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getName"> |
||||
<xsl:param name="id" /> |
||||
<xsl:value-of select="/Document/chapter[@id=$id]/name"/> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="navigationButton"> |
||||
<xsl:param name="targetChapterId" /> |
||||
<xsl:param name="imgSrc" /> |
||||
<xsl:param name="caption" /> |
||||
<xsl:param name="targetHref" /> |
||||
<xsl:param name="target" select="'_parent'"/> |
||||
<xsl:variable name="targetUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="$targetHref != ''"> |
||||
<xsl:value-of select="$targetHref"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="$targetChapterId" /> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:variable name="targetName"> |
||||
<xsl:choose> |
||||
<xsl:when test="string($targetChapterId) != '' "> |
||||
<xsl:call-template name="getName"> |
||||
<xsl:with-param name="id" select="$targetChapterId" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$caption"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$imgSrc=''"> |
||||
<a name="{$caption}" href = "{$targetUrl}" target = "{$target}" class = "Navigation" |
||||
title="{$targetName}" onMouseOver="this.style.textDecoration='underline';" |
||||
onMouseOut=" this.style.textDecoration='none';"><xsl:value-of select="$caption" /></a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<td class = "navi"><a name="{$caption}" href = "{$targetUrl}" |
||||
target = "{$target}" |
||||
class = "Navigation" |
||||
title="{$targetName}" onMouseOver="this.style.textDecoration='underline';" |
||||
onMouseOut=" this.style.textDecoration='none';"> |
||||
<IMG src="{$imgSrc}" ALT="{$targetName}" border="0" /></a> |
||||
<br /> |
||||
<a name="{$caption}" href = "{$targetUrl}" target = "{$target}" class = "Navigation" |
||||
title="{$targetName}" onMouseOver="this.style.textDecoration='underline';" |
||||
onMouseOut=" this.style.textDecoration='none';"><xsl:value-of select="$caption" /></a></td> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" /> |
||||
<xsl:param name="homepage" /> |
||||
<xsl:output method="html" name="html"/> |
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<!-- each Chapter --> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:call-template name="framefileContent"> |
||||
<xsl:with-param name="framefile" select="concat($targetpath,'/f_',fileName,'.htm')"/> |
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
<!--homepage--> |
||||
<xsl:for-each select="/Document/chapter [@id='0']"> |
||||
<xsl:call-template name="framefileContent"> |
||||
<xsl:with-param name="framefile" select="$homepage"/> |
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
<xsl:template name="framefileContent"> |
||||
<xsl:param name="framefile" /> |
||||
Generiere <xsl:value-of select="$framefile"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$framefile}" format="html" |
||||
method="html"> |
||||
<html> |
||||
<head><title><xsl:value-of select="name"/></title> |
||||
<META NAME = "author" content = "Daniel Quathamer"></META> |
||||
<META NAME = "copyright" content = "(c) 2010 Daniel Quathamer"></META> |
||||
<META NAME = "date" content ="10.08.2010 11:13:22"></META> |
||||
<LINK REL = "Start" href = "main.htm"></LINK> |
||||
<LINK REL = "Next" href = "DasBerichtssystemSup.htm "></LINK> |
||||
<LINK REL = "Prev" href = "DasBerichtssystemSup.htm "></LINK> |
||||
<LINK REL="stylesheet" type="text/css" href="superx.css"></LINK> |
||||
</head> |
||||
<frameset rows="30,*" framespacing="0" border="0"> |
||||
<frame src="{concat('TOP0_',@id,'.htm')}" name = "{concat('TOP',@id)}" scrolling="no" frameborder="0" noresize="1"> |
||||
<frameset cols = "250,*" > |
||||
<frame src="{concat('TOC0_',@id,'.htm')}" name = "{concat('TOC',@id)}" /> |
||||
<frame src="{concat(fileName,'.htm')}" name = "TOC1" /> |
||||
</frameset> |
||||
</frame> |
||||
</frameset> |
||||
<noframes>Diese Seiten wurden fuer Frame-faehige Browser entwickelt; bitte klicken Sie folgende Datei an: <a href="{concat(fileName,'.htm')}"><xsl:value-of select="name" /></a> |
||||
</noframes> |
||||
</html> |
||||
</xsl:result-document> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,467 @@
@@ -0,0 +1,467 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" /> |
||||
<xsl:param name="pdf_file" /> |
||||
<xsl:output method="html" name="html"/> |
||||
|
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="bodyfile" select="concat($targetpath,'/f_',fileName,'.htm')"/> |
||||
<xsl:variable name="deeplinkpath" select="concat('http://www.superx-projekt.de',substring-after($targetpath,'webapps/superx'))"/> |
||||
|
||||
Generiere <xsl:value-of select="$bodyfile"/> in <xsl:value-of select="$targetpath"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$bodyfile}" format="html" |
||||
method="html"> |
||||
<xsl:variable name="prev"> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@prev" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="next"> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@next" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<html> |
||||
<head><title><xsl:value-of select="name"/></title> |
||||
<META NAME = "author" content = "Daniel Quathamer"></META> |
||||
<META NAME = "copyright" content = "{concat('(c) ',format-dateTime(current-dateTime(),'[Y]'),' Daniel Quathamer')}"></META> |
||||
<META NAME = "date" content ="{format-dateTime(current-dateTime(),'[D].[M].[Y]')}"></META> |
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
||||
<LINK REL = "Start" href = "main.htm"></LINK> |
||||
<LINK REL = "Next" href="{$next}" /> |
||||
<LINK REL = "Prev" href="{$prev}" /> |
||||
<LINK REL = "Fokus" href="{$deeplinkpath}"/> |
||||
<style type="text/css"><xsl:text> |
||||
</xsl:text> |
||||
<xsl:value-of select="/Document/style"/> |
||||
</style> |
||||
<LINK REL="stylesheet" type="text/css" href="bulma.css"></LINK> |
||||
<LINK REL="stylesheet" type="text/css" href="superx.css"></LINK> |
||||
<base target="_self" /> |
||||
</head> |
||||
<body> |
||||
<xsl:call-template name="header" /> |
||||
|
||||
<xsl:variable name="header_tagname"> |
||||
<xsl:choose> |
||||
<xsl:when test="@level=0"> |
||||
<xsl:text>h1</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="concat('h',@level)"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<section class="hero"> |
||||
<div class="hero-body"> |
||||
<div class="container"> |
||||
<xsl:element name="{$header_tagname}"><xsl:if test="chapterNumber != ''"><span class="chapterNumber"> |
||||
<xsl:value-of select="chapterNumber"/></span><xsl:text> </xsl:text></xsl:if> |
||||
<xsl:value-of select="name"/></xsl:element> |
||||
</div> |
||||
</div> |
||||
</section> |
||||
<div class="columns"> |
||||
<div class="column is-one-quarter"> |
||||
<aside class="menu" style="background-color:#DDDDDD"> |
||||
<p class="menu-label"> |
||||
Inhalt |
||||
</p> |
||||
|
||||
<xsl:call-template name="createToc" > |
||||
<xsl:with-param name="currentFocus" select="@id" /> |
||||
</xsl:call-template> |
||||
|
||||
|
||||
</aside> |
||||
</div> |
||||
<div class="column is-three-quarters"> |
||||
<div class="content"> |
||||
<xsl:variable name="bodyText"> |
||||
<xsl:value-of select="body"/> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$bodyText='#empty#'"> |
||||
<xsl:variable name="currentId"> |
||||
<xsl:value-of select="@id"/> |
||||
</xsl:variable> |
||||
<xsl:for-each select="/Document/chapter[@parent=$currentId]"> |
||||
<p> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@id" /> |
||||
<xsl:with-param name="caption" select="name" /> |
||||
</xsl:call-template> |
||||
</p> |
||||
</xsl:for-each> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:copy-of select="$bodyText"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
|
||||
<div class="content has-text-centered"> |
||||
<nav class="level"> |
||||
|
||||
|
||||
<!--prev--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@prev" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_previous.svg'" /> |
||||
<xsl:with-param name="caption" select="'Vorherige'" /> |
||||
</xsl:call-template> |
||||
<!--Hoch--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="0" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_up.svg'" /> |
||||
<xsl:with-param name="caption" select="'Hoch'" /> |
||||
</xsl:call-template> |
||||
<!--Search--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetHref"><xsl:text>javascript:document.location=('search/index.htm');</xsl:text></xsl:with-param> |
||||
<xsl:with-param name="imgSrc" select="'resultset_search.svg'" /> |
||||
<xsl:with-param name="caption" select="'Suche'" /> |
||||
<xsl:with-param name="target" select="'_self'" /> |
||||
</xsl:call-template> |
||||
<!--next--> |
||||
<xsl:call-template name="navigationButton"> |
||||
<xsl:with-param name="targetChapterId" select="@next" /> |
||||
<xsl:with-param name="imgSrc" select="'resultset_next.svg'" /> |
||||
<xsl:with-param name="caption" select="'Nächste'" /> |
||||
</xsl:call-template> |
||||
|
||||
</nav> |
||||
</div> |
||||
<footer class="footer"> |
||||
<xsl:variable name="fokus"><xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="@id" /> |
||||
</xsl:call-template></xsl:variable> |
||||
<xsl:call-template name="footer" > |
||||
<xsl:with-param name="pdf_file" select="$pdf_file" /> |
||||
<xsl:with-param name="fokus" select="concat('#targetpath#/',$fokus)" /> |
||||
</xsl:call-template> |
||||
</footer> |
||||
</body> |
||||
</html> |
||||
</xsl:result-document> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getFilename"> |
||||
<xsl:param name="id" /> |
||||
<xsl:value-of select="concat('f_',/Document/chapter[@id=$id]/fileName,'.htm')"/> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getName"> |
||||
<xsl:param name="id" /> |
||||
<xsl:value-of select="/Document/chapter[@id=$id]/name"/> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="navigationButton"> |
||||
<xsl:param name="targetChapterId" /> |
||||
<xsl:param name="imgSrc" /> |
||||
<xsl:param name="caption" /> |
||||
<xsl:param name="targetHref" /> |
||||
<xsl:param name="target" select="'_self'"/> |
||||
<xsl:variable name="targetUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="$targetHref != ''"> |
||||
<xsl:value-of select="$targetHref"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:call-template name="getFilename"> |
||||
<xsl:with-param name="id" select="$targetChapterId" /> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:variable name="targetName"> |
||||
<xsl:choose> |
||||
<xsl:when test="string($targetChapterId) != '' "> |
||||
<xsl:call-template name="getName"> |
||||
<xsl:with-param name="id" select="$targetChapterId" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$caption"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<div class="level-item"> |
||||
<div class="box"> |
||||
|
||||
<xsl:if test="$imgSrc!=''"> |
||||
<p class="heading"> |
||||
<a name="{$caption}" href = "{$targetUrl}" |
||||
target = "{$target}" |
||||
class = "Navigation" |
||||
title="{$targetName}" onMouseOver="this.style.textDecoration='underline';" |
||||
onMouseOut=" this.style.textDecoration='none';"> |
||||
<IMG src="{$imgSrc}" ALT="{$targetName}" border="0" /></a> |
||||
</p> |
||||
</xsl:if> |
||||
|
||||
<p> |
||||
|
||||
<a name="{$caption}" href = "{$targetUrl}" target = "{$target}" class = "Navigation" |
||||
title="{$targetName}" onMouseOver="this.style.textDecoration='underline';" |
||||
onMouseOut=" this.style.textDecoration='none';"><xsl:value-of select="$caption" /></a> |
||||
</p> |
||||
</div> |
||||
</div> |
||||
</xsl:template> |
||||
<xsl:template name="header"> |
||||
<div class="container"> |
||||
<div id="navMenuDocumentation" class="navbar-menu"> |
||||
<div class="navbar-start"> |
||||
<div class="navbar-item" > |
||||
<a href = "http://www.superx-projekt.de" class = "Navigation" |
||||
title="Zu SuperX-Homepage"> |
||||
<IMG src="Symbol.gif" ALT="SuperX" border="0" /> |
||||
</a> |
||||
|
||||
|
||||
</div> |
||||
<div class="navbar-item" > |
||||
|
||||
<xsl:value-of select="/Document/chapter[@id='0']/name" /> |
||||
|
||||
|
||||
|
||||
</div> |
||||
</div> |
||||
|
||||
<div class="navbar-end"> |
||||
<div class="navbar-item" > |
||||
|
||||
|
||||
<IMG src="book.gif" ALT="Buch" border="0" /> |
||||
|
||||
|
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</xsl:template> |
||||
<xsl:template name="createToc"> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:for-each select="/Document/chapter[@id='0']"> |
||||
<xsl:variable name="p_class"> |
||||
<xsl:choose> |
||||
<xsl:when test="@id=$currentFocus"> |
||||
<xsl:text>Fokus</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text>listlevel</xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:variable name="a_class"> |
||||
<xsl:choose> |
||||
<xsl:when test="@id=$currentFocus"> |
||||
<xsl:text>is-active</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text></xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
|
||||
<xsl:variable name="isVisible"> |
||||
<xsl:call-template name="isVisibleTocEntry"> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
<xsl:with-param name="targetChapter" select="@id"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:if test="contains($isVisible,'true')"> |
||||
<ul class="menu-list"><li><xsl:attribute name="class"><xsl:value-of select="$p_class" /><xsl:value-of select="@level" /></xsl:attribute> |
||||
<a target="_self" class="{$a_class}"> |
||||
<xsl:attribute name="href"><xsl:value-of select="concat('f_',fileName,'.htm')" /></xsl:attribute><xsl:if test="chapterNumber != ''"><span class="chapterNumber"> |
||||
<xsl:value-of select="chapterNumber"/></span><xsl:text> </xsl:text></xsl:if><xsl:value-of select="shortName"/> |
||||
<!--zum debuggen: <xsl:value-of select="$isVisible" />--> |
||||
</a> |
||||
<xsl:call-template name="getChildren"> |
||||
<xsl:with-param name="parentId" select="@id"/> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
</xsl:call-template> |
||||
|
||||
</li></ul> |
||||
</xsl:if> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getChildren"> |
||||
<xsl:param name="parentId" /> |
||||
<xsl:param name="currentFocus"/> |
||||
<xsl:variable name="childrenCount"> |
||||
<xsl:value-of select="count(/Document/chapter[@parent=$parentId])"/> |
||||
</xsl:variable> |
||||
<xsl:if test="$childrenCount !=0"> |
||||
<ul class="menu-list"> |
||||
<xsl:for-each select="/Document/chapter[@parent=$parentId]"> |
||||
<xsl:variable name="isVisible"> |
||||
<xsl:call-template name="isVisibleTocEntry"> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
<xsl:with-param name="targetChapter" select="@id"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
|
||||
<xsl:variable name="a_class"> |
||||
<xsl:choose> |
||||
<xsl:when test="@id=$currentFocus"> |
||||
<xsl:text>is-active</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text></xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:if test="contains($isVisible,'true')"> |
||||
<li> |
||||
<a target="_self" class="{$a_class}"> |
||||
<xsl:attribute name="href"><xsl:value-of select="concat('f_',fileName,'.htm')" /></xsl:attribute><xsl:if test="chapterNumber != ''"><span class="chapterNumber"> |
||||
<xsl:value-of select="chapterNumber"/></span><xsl:text> </xsl:text></xsl:if><xsl:value-of select="shortName"/> |
||||
<!--zum debuggen: <xsl:value-of select="$isVisible" />--> |
||||
</a> |
||||
<xsl:call-template name="getChildren"> |
||||
<xsl:with-param name="parentId" select="@id"/> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
</xsl:call-template> |
||||
</li> |
||||
</xsl:if> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="isVisibleTocEntry"> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:choose> |
||||
<xsl:when test="$currentFocus=$targetChapter"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<!--die Zielknoten auf Ebene 1 kommen immer rein--> |
||||
<xsl:variable name="levelofTargetChapter"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<!--die Zielknoten liegen direkt unter dem Fokus?--> |
||||
<xsl:variable name="parentofTargetChapter"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$parentofTargetChapter=$currentFocus or $levelofTargetChapter='1'"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<!--der targetChapter ist ein parent von currentFocus?--> |
||||
<xsl:call-template name="getParentOfCurrentFocus"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
<xsl:with-param name="numberOfCalls" select="0"/> |
||||
|
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getParentOfCurrentFocus"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:param name="numberOfCalls" /> |
||||
<xsl:variable name="parentOfCurrentFocus"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="parentOfTargetChapter"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<!--entweder das Zielkapitel ist direkt übergeordnet, oder |
||||
der parent des akt. Fokus ist identisch mit dem parent des Zielkapitels--> |
||||
<xsl:when test="$parentOfCurrentFocus=$targetChapter or ($parentOfCurrentFocus=$parentOfTargetChapter and $numberOfCalls < 2)"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:when test="$parentOfCurrentFocus=-1"> |
||||
<xsl:text>false</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:call-template name="getParentOfCurrentFocus"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$parentOfCurrentFocus"/> |
||||
<xsl:with-param name="numberOfCalls" select="$numberOfCalls+1"/> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:template name="getLevel"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:value-of select="/Document/chapter [@id=$targetChapter]/@level"/> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="getParent"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:value-of select="/Document/chapter [@id=$targetChapter]/@parent"/> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="footer"> |
||||
<xsl:param name="pdf_file" /> |
||||
<xsl:param name="fokus" /> |
||||
|
||||
<nav class="navbar" role="navigation" aria-label="main navigation"> |
||||
<div id="navbarFooter" class="navbar-menu"> |
||||
<div class="navbar-start"> |
||||
|
||||
<a class="navbar-item" href="http://freemarker.org/"> |
||||
<img src="poweredby_freemarker.png" |
||||
alt="Powered by FreeMarker" border="0" /></a> |
||||
|
||||
<xsl:text> </xsl:text> |
||||
<a class="navbar-item" href="http://www.campussource.de"> |
||||
<img src="cslogo50x46w.gif" width="50" height="46" border="0" align="left" alt="SuperX ist auch ein CampusSource-Projekt. Zur CampusSource-Homepage" /></a> |
||||
<xsl:text> </xsl:text> |
||||
<a class="navbar-item" href="http://www.memtext.de"><img src="mtklein.gif" border="0" alt="Zur Memtext-Homepage" /></a> |
||||
</div> |
||||
<div class="navbar-end"> |
||||
<div class="navbar-item"> |
||||
<p align="right"><span style="font-size:smaller">Link zu dieser <a href="{$fokus}" target="_self">Seite</a></span> | <span style="font-size:smaller">Druckversion <a href="__index.htm" target="_self">HTML</a> | #pdf_file#</span></p> |
||||
<p align="right"><span style="font-size:smaller"> |
||||
<xsl:text>Seite </xsl:text><xsl:value-of select="(@id+1)" /><xsl:text> / </xsl:text><xsl:value-of select="count(/Document/chapter)" /> |
||||
<br />Letzter Update: |
||||
<xsl:value-of select="format-dateTime(current-dateTime(),'[D].[M].[Y]')" /><br /> |
||||
<a class="klein" href="http://www.studio-fuer-textdesign.de/impressum.htm">Impressum</a> | <a class="klein" href="http://www.studio-fuer-textdesign.de/datenschutz_public.htm">Datenschutz</a> |
||||
</span> |
||||
</p> |
||||
|
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
</nav> |
||||
|
||||
|
||||
|
||||
|
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,75 @@
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:variable name="singleQuote">'</xsl:variable> |
||||
<xsl:output method="text" name="text"/> |
||||
<xsl:template match="/"> |
||||
<xsl:text> |
||||
Ds= new Array(); |
||||
Ds[1] = new Array(); |
||||
Ds[1][1]= "Menuepunkt"; |
||||
Ds[1][2]= "Seitentitel"; |
||||
Ds[1][3]= "Volltext"; |
||||
Ds[1][4]= "Datei"; |
||||
</xsl:text> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:text>Ds[</xsl:text><xsl:value-of select="@id+2"/><xsl:text>] = new Array(); |
||||
Ds[</xsl:text><xsl:value-of select="@id+2"/><xsl:text>][1]= "</xsl:text><xsl:call-template name="prepareStringforJS"> |
||||
<xsl:with-param name="content"><xsl:value-of select="shortName" /></xsl:with-param> |
||||
</xsl:call-template><xsl:text>"; |
||||
Ds[</xsl:text><xsl:value-of select="@id+2"/><xsl:text>][2]= "</xsl:text><xsl:call-template name="prepareStringforJS"> |
||||
<xsl:with-param name="content"><xsl:value-of select="name" /></xsl:with-param> |
||||
</xsl:call-template> |
||||
<xsl:text>"; |
||||
Ds[</xsl:text><xsl:value-of select="@id+2"/><xsl:text>][3]= "</xsl:text><xsl:call-template name="prepareStringforJS"> |
||||
<xsl:with-param name="content"><xsl:value-of select="summary" /></xsl:with-param> |
||||
</xsl:call-template> |
||||
<xsl:text>"; |
||||
Ds[</xsl:text><xsl:value-of select="@id+2"/><xsl:text>][4]= "</xsl:text><xsl:value-of select="concat('../f_',fileName,'.htm')" /> |
||||
<xsl:text>"; |
||||
|
||||
</xsl:text> |
||||
</xsl:for-each> |
||||
<xsl:text> |
||||
var AnzFelder= 4; |
||||
</xsl:text> |
||||
</xsl:template> |
||||
<xsl:template name="prepareStringforJS"> |
||||
<xsl:param name="content" /> |
||||
<xsl:call-template name="removeSingleQuote"> |
||||
<xsl:with-param name="content"><xsl:value-of select="translate($content,'"',' ')"/></xsl:with-param> |
||||
</xsl:call-template> |
||||
</xsl:template> |
||||
<xsl:template name="removeSingleQuote"> |
||||
<xsl:param name="content" /> |
||||
<!-- Anführungszeichen für js entfernen --> |
||||
<xsl:variable name="ret"> |
||||
<xsl:call-template name="search_replace"><xsl:with-param name="string" select="$content" /><xsl:with-param name="search" select="$singleQuote" /><xsl:with-param name="replace" select="''" /></xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="search_replace"><xsl:with-param name="string" select="$ret" /><xsl:with-param name="search" select="';'" /><xsl:with-param name="replace" select="'.'" /></xsl:call-template> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="search_replace"> |
||||
<xsl:param name="string" /> |
||||
<xsl:param name="search" /> |
||||
<xsl:param name="replace" /> |
||||
<xsl:choose> |
||||
<xsl:when test="not($string)" /> |
||||
<xsl:when test="contains($string, $search)"> |
||||
<xsl:value-of select="substring-before($string, $search)" /> |
||||
<xsl:value-of select="$replace" /> |
||||
<xsl:call-template name="search_replace"> |
||||
<xsl:with-param name="string" |
||||
select="substring-after($string, $search)" /> |
||||
<xsl:with-param name="search" |
||||
select="$search" /> |
||||
<xsl:with-param name="replace" |
||||
select="$replace" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$string" /> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,310 @@
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" /> |
||||
<xsl:output method="html" name="html"/> |
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="tocfile" select="concat($targetpath,'/TOC0_',@id,'.htm')"/> |
||||
Generiere <xsl:value-of select="$tocfile"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$tocfile}" format="html" |
||||
method="html"> |
||||
<html> |
||||
<head> |
||||
<LINK REL="stylesheet" type="text/css" href="toc.css"></LINK> |
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
||||
</head> |
||||
|
||||
|
||||
<body> |
||||
<xsl:call-template name="toc_head" /> |
||||
<xsl:call-template name="createToc" > |
||||
<xsl:with-param name="currentFocus" select="@id" /> |
||||
</xsl:call-template> |
||||
<xsl:call-template name="toc_foot" /> |
||||
</body> |
||||
</html> |
||||
</xsl:result-document> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="createToc"> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="p_class"> |
||||
<xsl:choose> |
||||
<xsl:when test="@id=$currentFocus"> |
||||
<xsl:text>Fokus</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text>listlevel</xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<xsl:variable name="a_class"> |
||||
<xsl:choose> |
||||
<xsl:when test="@id=$currentFocus"> |
||||
<xsl:text>fokus</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text></xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
|
||||
<xsl:variable name="isVisible"> |
||||
<xsl:call-template name="isVisibleTocEntry"> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
<xsl:with-param name="targetChapter" select="@id"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:if test="contains($isVisible,'true')"> |
||||
<p><xsl:attribute name="class"><xsl:value-of select="$p_class" /><xsl:value-of select="@level" /></xsl:attribute> |
||||
<a target="_parent" class="{$a_class}"> |
||||
<xsl:attribute name="href"><xsl:value-of select="concat('f_',fileName,'.htm')" /></xsl:attribute><xsl:if test="chapterNumber != ''"><span class="chapterNumber"> |
||||
<xsl:value-of select="chapterNumber"/></span><xsl:text> </xsl:text></xsl:if><xsl:value-of select="shortName"/> |
||||
<!--zum debuggen: <xsl:value-of select="$isVisible" />--> |
||||
</a> </p> |
||||
</xsl:if> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="isVisibleTocEntry"> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:choose> |
||||
<xsl:when test="$currentFocus=$targetChapter"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<!--die Zielknoten auf Ebene 1 kommen immer rein--> |
||||
<xsl:variable name="levelofTargetChapter"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<!--die Zielknoten liegen direkt unter dem Fokus?--> |
||||
<xsl:variable name="parentofTargetChapter"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$parentofTargetChapter=$currentFocus or $levelofTargetChapter='1'"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<!--der targetChapter ist ein parent von currentFocus?--> |
||||
<xsl:call-template name="getParentOfCurrentFocus"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus"/> |
||||
<xsl:with-param name="numberOfCalls" select="0"/> |
||||
|
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
|
||||
<xsl:template name="getParentOfCurrentFocus"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:param name="numberOfCalls" /> |
||||
<xsl:variable name="parentOfCurrentFocus"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="parentOfTargetChapter"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<!--entweder das Zielkapitel ist direkt übergeordnet, oder |
||||
der parent des akt. Fokus ist identisch mit dem parent des Zielkapitels--> |
||||
<xsl:when test="$parentOfCurrentFocus=$targetChapter or ($parentOfCurrentFocus=$parentOfTargetChapter and $numberOfCalls < 2)"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:when test="$parentOfCurrentFocus=-1"> |
||||
<xsl:text>false</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:call-template name="getParentOfCurrentFocus"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$parentOfCurrentFocus"/> |
||||
<xsl:with-param name="numberOfCalls" select="$numberOfCalls+1"/> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:template name="getLevel"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:value-of select="/Document/chapter [@id=$targetChapter]/@level"/> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="getParent"> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:value-of select="/Document/chapter [@id=$targetChapter]/@parent"/> |
||||
|
||||
</xsl:template> |
||||
|
||||
<!--klappt noch nicht: |
||||
<xsl:template name="computeDistance"> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:choose> |
||||
<xsl:when test="$currentFocus=$targetChapter"> |
||||
<xsl:text>0</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:variable name="levelFrom"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="levelTo"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$levelFrom > $levelTo"> |
||||
<xsl:text>goUp: </xsl:text> |
||||
<xsl:call-template name="stepUpCurrentFocus"> |
||||
<xsl:with-param name="counter" select="1" /> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
|
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text>goDown</xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
|
||||
</xsl:template> |
||||
<xsl:template name="stepUpCurrentFocus"> |
||||
<xsl:param name="counter"/> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:variable name="parentOfCurrentFocus"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$parentOfCurrentFocus=$targetChapter or $parentOfCurrentFocus='-1'"> |
||||
<xsl:value-of select="concat(' currFocus ',$parentOfCurrentFocus,'_',$counter)"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
|
||||
<xsl:variable name="levelFrom"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$parentOfCurrentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="levelTo"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$levelTo > $levelFrom "> |
||||
<xsl:variable name="parent"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="stepUpTargetChapter"> |
||||
<xsl:with-param name="counter" select="$counter+1" /> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
<xsl:with-param name="currentFocus" select="$parent" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:variable name="parent"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$parentOfCurrentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="stepUpCurrentFocus"> |
||||
<xsl:with-param name="counter" select="$counter+1" /> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$parent" /> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:template name="stepUpTargetChapter"> |
||||
<xsl:param name="counter"/> |
||||
<xsl:param name="targetChapter" /> |
||||
<xsl:param name="currentFocus" /> |
||||
<xsl:variable name="parentOfTargetChapter"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:choose> |
||||
<xsl:when test="$parentOfTargetChapter=$currentFocus or $parentOfTargetChapter='-1'"> |
||||
<xsl:value-of select="concat(' TargetChapter ',$currentFocus,'_',$counter)"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
|
||||
<xsl:variable name="levelFrom"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$parentOfTargetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="levelTo"> |
||||
<xsl:call-template name="getLevel"> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$levelTo > $levelFrom "> |
||||
<xsl:variable name="parent"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="stepUpTargetChapter"> |
||||
<xsl:with-param name="counter" select="$counter+1" /> |
||||
<xsl:with-param name="targetChapter" select="$currentFocus" /> |
||||
<xsl:with-param name="currentFocus" select="$parent" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:variable name="parent"> |
||||
<xsl:call-template name="getParent"> |
||||
<xsl:with-param name="targetChapter" select="$parentOfTargetChapter" /> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:call-template name="stepUpCurrentFocus"> |
||||
<xsl:with-param name="counter" select="$counter+1" /> |
||||
<xsl:with-param name="targetChapter" select="$targetChapter" /> |
||||
<xsl:with-param name="currentFocus" select="$parent" /> |
||||
</xsl:call-template> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
|
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template>--> |
||||
</xsl:stylesheet> |
@ -0,0 +1,64 @@
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> |
||||
<xsl:import href="page_Components.xsl" /> |
||||
<xsl:param name="targetpath" select="'/home/superx/tmp/tt'"/> |
||||
<xsl:output method="html" name="html"/> |
||||
<xsl:template match="/"> |
||||
<xsl:value-of select="$targetpath" /> |
||||
<xsl:for-each select="/Document/chapter"> |
||||
<xsl:variable name="topfile" select="concat($targetpath,'/TOP0_',@id,'.htm')"/> |
||||
Generiere <xsl:value-of select="$topfile"/><xsl:text> |
||||
</xsl:text> |
||||
<!--output method mit NAME text ist wichtig, damit sich result-document darauf beziehen kann |
||||
<xsl:result-document href="{$tabfile}" format="text">--> |
||||
<xsl:result-document href="{$topfile}" format="html" |
||||
method="html"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<html lang="de" dir="ltr"> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<title><xsl:value-of select="name"/></title> |
||||
<link rel="stylesheet" href="shared.css" media="screen" /> |
||||
<link rel="stylesheet" href="main.css" media="screen" /> |
||||
<link rel="stylesheet" href="BreadCrumbs.css" /> |
||||
</head> |
||||
<body class="mediawiki ltr capitalize-all-nouns ns-0 ns-subject page-SuperX_BW_Leitfaden_Inhalt_Lehre_Studium skin-modern"> |
||||
|
||||
<!-- heading --> |
||||
<div id="mw_header"><h1 id="firstHeading"><xsl:value-of select="name"/></h1></div> |
||||
|
||||
<div id="mw_main"> |
||||
<div id="mw_contentwrapper"> |
||||
<!-- navigation portlet --> |
||||
|
||||
<div id="p-cactions" class="portlet"> |
||||
<h5>Ansichten</h5> |
||||
<div class="pBody"> |
||||
<ul> |
||||
|
||||
<li><p>.</p></li> |
||||
<li><p>.</p></li> |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
</body> |
||||
</html> |
||||
|
||||
|
||||
|
||||
</xsl:result-document> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
|
||||
|
||||
|
||||
</xsl:stylesheet> |
After Width: | Height: | Size: 3.2 KiB |
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
/* Stylesheet for the BreadCrumbs extension, an extension of the |
||||
* edit box of MediaWiki to provide an easy way to add category links |
||||
* to a specific page. |
||||
* |
||||
* @file |
||||
* @ingroup Extensions |
||||
* @author Manuel Schneider <manuel.schneider@wikimedia.ch> |
||||
* @copyright © 2007 by Manuel Schneider |
||||
* @licence GNU General Public Licence 2.0 or later |
||||
*/ |
||||
|
||||
#BreadCrumbsTrail { |
||||
font-size:0.8em; |
||||
} |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.1 KiB |