Documentation Center

<Tcdl> element

The <Tcdl> element allows you to configure Tridion Content Delivery Language (TCDL) settings. TCDL is SDL Tridion Sites's platform-independent language which Content Delivery transforms into JSP/ASP.NET/REL script code.

Procedure

  1. Open the smarttarget_conf.xml configuration file.

    The file is used in several locations in your installation: Where to find smarttarget_conf.xml

  2. In the <Tcdl><Prefix> section, you can specify:
    <Prefix><Java>
    Specify the prefixes used for the output namespaces of TCDL tags for your Java Web site.
    <Prefix><DotNet>
    Specify the prefixes used for the output namespaces of TCDL tags for your .NET Web site.
  3. In the <Tcdl><Placeholder> section, you can specify:
    <Pattern>
    Specify the placeholder pattern that indicate code in TCDL tags that require processing by Experience Optimization. The pattern is a regular expression matching a section in your code where a replacement string is inserted. By default, the double-hash signs demarcate the string to be replaced.
  4. In the <Tcdl><OutputHandlers> section, you can specify:
    <OutputHandlers>
    Specify the TCDL output handler class.
  5. Save and close smarttarget_conf.xml.