public void PorcessAttributeSets(Stylesheet rootStylesheet) {
MirgeAttributeSets(rootStylesheet);
// As we mentioned we need to invert all lists.
foreach (AttributeSetAction attSet in this.attributeSetTable.Values) {
if (attSet.containedActions != null) {
attSet.containedActions.Reverse();
}
}
// ensures there are no cycles in the attribute-sets use dfs marking method
CheckAttributeSets_RecurceInList(new Hashtable(), this.attributeSetTable.Keys);
}