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.
The parameter used with the generate-rd-last-modified function and its description is:
String containing a mapping from one name to another.
The following example renames an attribute from author to author-name:
Generate fn=rename-attribute src="author->author-name" |