Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Maintaining data in the profile and recording the visitor's behavior allows offering information targeted for that visitor. Once a visitor's area(s) of interest are identified, you can display content that is targeted toward their interests. This also provides the website visitor with a better experience.

For complete information on how to personalize content in XperienCentral, see Personalizing Content.

To access the Personalize panel, navigate to Configuration > Personalize.

...

  1. Navigate to Configuration > Personalize.
  2. Click the "XSLT Expressions" tab.
  3. Select <New expression> from the "Select" menu.
  4. Define the following properties:

    PropertyDescription
    CategoryThe category (if any) to which this expression belongs.
    AvailableSpecifies whether this expression is available for use.
    TypeThe options are:
    • Condition: XPATH expression that generates 'true'TRUE.
    • Choose: The same as 'Condition' but with a redirect to another page if the expression generates 'false'FALSE. The login page is the default.
    • Select: An XPATH expression that retrieves information from an XML structure.
    • XSL: An XSL template, for all other options.
    Show linksSelecting "Yes" displays a protected page on the menu. For users with insufficient rights, this has no effect. The visitor will be redirected to the login page and will be able to access the desired page if he or she logs in.
    XSLTXSLT code (for type "XSL") or XPATH expression (for other types). Examples:

    Condition
    /root/system/user/sex gender = '1'
    (Verify that the visitor is male.)

    Choose
    count(/root/system/user/username) > 0 and (/root/system/user/username) = 'administrator'
    (First, verify that the 'username' tag exists and then that the user is the administrator.)

    Select
    /root/system/user/firstname
    (Retrieve the first name.)

    XSL
    <xsl:value-of select="/root/system/user/firstname"/>
    <xsl:text > </xsl:text>
    <xsl:value-of select="/root/system/user/lastname"/>
    (Retrieve first name + space + last name.)
    Assigned toIf this expression is used in one or more presentation models, the models are listed here.
    Test XSLTTests the XSLT code to ensure that it is correct.

...