Attribute rules identify the basic attribute tags in HTML pages to rewrite. Rewriter modifies the various occurrences of the defined tags by expanding or prefixing the existing URL. The default ruleset rewrites the following attribute tags:
action
background
codebase
code
href
src
value
imagePath
lowsrc
archive
The syntax for attribute rules is:
<Attribute name="name" [tag="tag" valuePatterns="patterns"] |
where name specifies the attribute, tag specifies the tag to which the attribute belongs (set to * to match all tags), and patterns specifies the possible patterns to match with the attribute. The tag and valuePatterns parameters are optional.