jnpr/space/xmlutil.py
def make_xml_name(attr_name):
    """ Convert an attribute name to its XML equivalent by replacing
    all '_' with '-'. CamelCase names are retained as such.

    :param str attr_name: Name of the attribute

    :returns: Attribute name in XML format.
    """
    return attr_name.replace('_', '-')
 Convert an attribute name to its XML equivalent by replacing
    all '_' with '-'. CamelCase names are retained as such.

    :param str attr_name: Name of the attribute

    :returns: Attribute name in XML format.
    
Convert an attribute name to its XML equivalent by replacing
all '_' with '-'. CamelCase names are retained as such.
Convert an attribute name to its XML equivalent by replacing all ' _ ' with ' - ' . CamelCase names are retained as such .
def make_xml_name(attr_name):
    return attr_name.replace('_', '-')
def make_xml_name ( attr_name ) : return attr_name . replace ( '_' , '-' )
Convert an attribute name to its XML equivalent by replacing
all '_' with '-'.
Convert an attribute name to its XML equivalent by replacing all ' _ ' with ' - ' .
""" Convert an attribute name to its XML equivalent by replacing
    all '_' with '-'. CamelCase names are retained as such.

    :param str attr_name: Name of the attribute

    :returns: Attribute name in XML format.
    """
Attribute name in XML format.
Attribute name in XML format .
attr_name
Name of the attribute
Name of the attribute