Sun Java System Portal Server 7.1 Technical Reference

Attributes in XML

The rules for attributes in XML are similar to the rules for attributes in HTML. See Attribute Rules for HTML Content for additional information. Rewriter translates attribute values based on the attribute and tag names.

The default ruleset rewrites the following attributes in XML:

The syntax for attributes in HTML is:


<Attributes>
<Attribute name="attribute" [valuePatterns="name=src"/>
</Attributes>

where attribute is the name of the tag and src is the name of the attribute.