Custom Web Publishing Guide

Table Of Contents
112 Custom Web Publishing Guide
CDML tag name: Client Address
Tag is replaced with the current web client’s IP address
CDML syntax: [FMP-ClientAddress]
XSLT-CWP conversion:
1 when inside SGML element attribute value: {$client-ip}
1 otherwise: <xsl:value-of select="$client-ip"/>
CDML tag name: Client IP Address
Tag is replaced with current client’s IP address
CDML syntax: [FMP-ClientIP]
XSLT-CWP conversion:
1 when inside SGML element attribute value: {$client-ip}
1 otherwise: <xsl:value-of select="$client-ip"/>
CDML tag name: Client Password
Tag is replaced with the current HTTP-authenticated client password
CDML syntax: [FMP-ClientPassword]
XSLT-CWP conversion:
1 when inside SGML element attribute value: {$client-password}
1 otherwise: <xsl:value-of select="$client-password"/>
Conversion example
Original CDML: Your address is: [FMP-ClientAddress]
Converted XSLT-CWP: Your address is: <xsl:value-of select="$client-ip"/>
Converted Result: Your address is: 192.168.123.101
Conversion example
Original CDML: Your IP address is: [FMP-ClientIP]
Converted XSLT-CWP: Your IP address is: <xsl:value-of select="$client-ip"/>
Converted Result: Your IP address is: 192.168.123.101
Conversion example
Original CDML: Your password is: [FMP-ClientPassword]
Converted XSLT-CWP: Your password is: <xsl:value-of select="$client-password"/>
Converted Result: Your password is: my-password