Sun Java System Portal Server 7.1 Technical Reference

rename-attribute

The rename-attribute function changes the name of a field in the resource description. It is most useful in cases where, for example, extract-html-meta copies information from a <META> tag into a field, and you want to change the name of the field.

Parameters

The parameter used with the generate-rd-last-modified function and its description is:

src

String containing a mapping from one name to another.

Example

The following example renames an attribute from author to author-name:


Generate fn=rename-attribute src="author->author-name"