PyDocs

Nav

Structured Markup Processing Tools

TreeBuilder.start_ns

xml.etree.ElementTree

method of TreeBuilder · Added in 3.8
  • TreeBuilder.start_ns(prefix, uri)
Is called whenever the parser encounters a new namespace declaration, before the start() callback for the opening element that defines it. prefix is '' for the default namespace and the declared namespace prefix name otherwise. uri is the namespace URI.
0 Examples
No examples for xml.etree.ElementTree/TreeBuilder.start_ns.
See Also
No see-alsos for xml.etree.ElementTree/TreeBuilder.start_ns
0 Notes
No notes for TreeBuilder.start_ns