Sun Java System Portal Server 7.1 Technical Reference

generate-by-prefix

This generate-by-prefix function generates a source with a specified value, but only if the prefix of an existing source matches another value.

Parameters

The parameters used with the generate-by-prefix function and their description are:

dst

Name of the source to generate.

value

Value to assign to dst.

src

Source against which to match.

match

Value to compare to src.

Example

The following example sets the classification to Search if the protocol prefix is HTTP:


Generate fn="generate-by-prefix" match="http" src="protocol"
value="World Wide Web" dst="classification"