8bc488e5cdb7a5164d6f911b23258b9c9135760c,mathics/builtin/xmlformat.py,,node_to_xml_element,#Any#Any#Any#,36
Before Change
// see https://reference.wolfram.com/language/XML/tutorial/RepresentingXML.html
default_namespace = node.nsmap[None]
if default_namespace != parent_namespace:
declare_default_namespace = default_namespace
else:
After Change
namespace = tag.namespace
else:
tag = node.tag
if not tag.startswith("{"):
namespace = None
localname = tag
else:
m = re.match("\{(.*)\}(.*)", node.tag)
namespace = m.group(1)
localname = m.group(2)
def children():
text = node.text
if text:
if strip_whitespace:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: mathics/Mathics
Commit Name: 8bc488e5cdb7a5164d6f911b23258b9c9135760c
Time: 2016-09-21
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/xmlformat.py
Class Name:
Method Name: node_to_xml_element
Project Name: tensorflow/transform
Commit Name: 4bf19837a0df0c7c8e7bd3f3c6a55ddd62e30c6b
Time: 2018-04-30
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/saved/saved_transform_io.py
Class Name:
Method Name: _partially_apply_saved_transform_impl
Project Name: studioml/studio
Commit Name: f31b7ad689b1435e76744af4ff443607643a37fd
Time: 2017-12-28
Author: peter.zhokhov@sentient.ai
File Name: studio/experiment.py
Class Name:
Method Name: create_experiment