Web pages can contain XML content which in turn can contain URLs and Rewriter can rewrite URLS in XML content.
XML content that contains URLs is classified as follows:
Rewriter translates XML content based on the tag name.
The default ruleset rewrites the following tags in XML:
baseroot
img
The syntax for tag text is:
<TagText tag ="attribute" attributePatterns="name=src"/> |
where attribute is the name of the tag and src is the name of the attribute.
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:
xmlns
href
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.