主权项 |
1. A method for further adapting eXtensible Stylesheet Language (XSL) to HyperText Markup Language (HTML) document transformations, the method comprising:
identifying, by a web computing device, a plurality of rules matching one or more elements in an HTML document; identifying, by the web computing device, a plurality of actions associated with each of the identified plurality of rules; grouping, by the web computing device, each of the matching identified plurality of actions together into one or more corresponding groups; filtering, by the web computing device, the grouped plurality of actions based on one or more filtering rules when two or more of the grouped plurality of actions match; removing, by the web computing device, one or more of the plurality of actions in each of the one or more corresponding groups based on the one or more filtering rules; applying, by the web computing device, the remaining grouped plurality of actions that match after the filtering to transform the matching one or more elements in the HTML document; and providing, by the web computing device, the transformed HTML document. |