Refit (normalize) all of the nsprefix mappings.
(self)
| 1116 | a.setValue(':'.join((p, name))) |
| 1117 | |
| 1118 | def refitMappings(self): |
| 1119 | """ |
| 1120 | Refit (normalize) all of the nsprefix mappings. |
| 1121 | """ |
| 1122 | for n in self.branch: |
| 1123 | n.nsprefixes = {} |
| 1124 | n = self.node |
| 1125 | for u, p in self.prefixes.items(): |
| 1126 | n.addPrefix(p, u) |
| 1127 | |
| 1128 | def permit(self, ns): |
| 1129 | """ |