<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.pranke.com/hilfe/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.pranke.com/hilfe/feed.php">
        <title>eBiss 3 en:transformation:mappings:funktionen:custom</title>
        <description></description>
        <link>https://www.pranke.com/hilfe/</link>
        <image rdf:resource="https://www.pranke.com/hilfe/lib/exe/fetch.php?media=favicon.ico" />
       <dc:date>2026-04-15T12:19:41+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:excelloadtab&amp;rev=1708413318&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:flipcolumns&amp;rev=1708413318&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:generic_db_select&amp;rev=1771935367&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:loadfromdb&amp;rev=1766134716&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:start&amp;rev=1708413318&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:validategln&amp;rev=1708413318&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.pranke.com/hilfe/lib/exe/fetch.php?media=favicon.ico">
        <title>eBiss 3</title>
        <link>https://www.pranke.com/hilfe/</link>
        <url>https://www.pranke.com/hilfe/lib/exe/fetch.php?media=favicon.ico</url>
    </image>
    <item rdf:about="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:excelloadtab&amp;rev=1708413318&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-20T08:15:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>XPath structure as result</title>
        <link>https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:excelloadtab&amp;rev=1708413318&amp;do=diff</link>
        <description>XPath structure as result

Mapping functions can return a type of IMapObjectRoot that can be used in further x-path operations, see also eBiss.Excel.LoadTab.


namespace eBiss
{
    public class Excel : IMapFunctionExtender, ILoggingObject
    {
        public ILogContext Log
        {
            get;

            set;
        }

        [eBiss.Api.MappingFunction]
        public object LoadTab(string filename)
        {
            Log?.Trace($&quot;Call eBiss.Excel.LoadTab('{filename}')&quot;);

      …</description>
    </item>
    <item rdf:about="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:flipcolumns&amp;rev=1708413318&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-20T08:15:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>XPath structur as input and result</title>
        <link>https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:flipcolumns&amp;rev=1708413318&amp;do=diff</link>
        <description>XPath structur as input and result

In the following a mapping function which gets the root node of the document, reads the document structure from it and then returns an XPath structure.


namespace eBiss
{
    public class Excel : IMapFunctionExtender
    {
        [MappingFunction]
        public XPathNodeIterator FlipColumns(System.Xml.XPath.XPathNodeIterator itc)
        {
            XPathNodeIterator returnValue = null;
            if (itc != null &amp;&amp; itc.MoveNext() == true)
            {
…</description>
    </item>
    <item rdf:about="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:generic_db_select&amp;rev=1771935367&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-24T13:16:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic select on any DB table</title>
        <link>https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:generic_db_select&amp;rev=1771935367&amp;do=diff</link>
        <description>Generic select on any DB table

Sample code for:

	*  Wago.Ebiss.MapFn.DbSelect(&lt;on the table&gt;, &lt;returned column&gt;, &lt;search on the column&gt;, &lt;search for&gt;)

For the DB connection, the connection string from the variable Db.MapFunction.Connection is used by the standard system partner.</description>
    </item>
    <item rdf:about="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:loadfromdb&amp;rev=1766134716&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-19T09:58:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Load data from DB</title>
        <link>https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:loadfromdb&amp;rev=1766134716&amp;do=diff</link>
        <description>Load data from DB

Sample code for:

	*  MyCompanyName.Map.Functions.CountryCode('DE'), loads the country code from a user defined table/view from current eBiss DB.
	*  MyCompanyName.Map.Functions.CountryCodeFromDb('DE'), loads the country code from a user defined table/view from a different DB.</description>
    </item>
    <item rdf:about="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:start&amp;rev=1708413318&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-20T08:15:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Custom Mapping functions</title>
        <link>https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:start&amp;rev=1708413318&amp;do=diff</link>
        <description>Custom Mapping functions

Analogous to the integration of individual Custom-Objekt-Klassen and Creating a CustomJobStep, eBiss also offers the possibility to extend the scope of Functions.
Whether a specific function needs to be developed can only be determined after a detailed examination of the requirement.
Pranke GmbH is available for inquiries of this kind.custom index</description>
    </item>
    <item rdf:about="https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:validategln&amp;rev=1708413318&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-20T08:15:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Code samples: ValidateGLN, ValidateBarcode, Abs</title>
        <link>https://www.pranke.com/hilfe/doku.php?id=en:transformation:mappings:funktionen:custom:validategln&amp;rev=1708413318&amp;do=diff</link>
        <description>Code samples: ValidateGLN, ValidateBarcode, Abs


using System;
using eBiss.Api;

namespace Map
{

    /// &lt;summary&gt;
    /// Sample class containing mapping function(s)
    /// 
    /// This class must inherit from eBiss.Api.IMapFunctionExtender and should use logging
    /// via eBiss.Api.ILoggingObject
    /// &lt;/summary&gt;
    public class fun : IMapFunctionExtender, ILoggingObject
    {

        /// &lt;summary&gt;
        /// Validate GLN checks if a given value has 13 digits and is a valid Barcode …</description>
    </item>
</rdf:RDF>
