def get_data_value(line, dtype):
    """ Get the data value from the line, an example line is

    ``<Value>8.14404296875</Value>\\n``

    :param line: The line in the xml file
    :type line: str

    :param dtype: The data type to convert to
    :type dtype: type

    :returns: The value in the requested data type
    :rtype: dtype

    """
    value = line.split("<Value>")[-1].split("</Value>")[0]
    return dtype(value)