Make the schema's target namespace. @return: The namespace representation of the schema's targetNamespace value. @rtype: (prefix, uri)
(self)
| 230 | log.debug('dereferenced:\n%s', self) |
| 231 | |
| 232 | def mktns(self): |
| 233 | """ |
| 234 | Make the schema's target namespace. |
| 235 | @return: The namespace representation of the schema's |
| 236 | targetNamespace value. |
| 237 | @rtype: (prefix, uri) |
| 238 | """ |
| 239 | tns = [None, self.root.get('targetNamespace')] |
| 240 | if tns[1] is not None: |
| 241 | tns[0] = self.root.findPrefix(tns[1]) |
| 242 | return tuple(tns) |
| 243 | |
| 244 | def build(self): |
| 245 | """ |
no test coverage detected