use XmlView;
use XmlConverter;
use ;
/// Create a cutom element with the given name and default attribute 'source'
///
/// # Arguments
///
/// * `name` - name of the component. The component name must follow requirements: https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
/// Creates HTML string from given XML string
///
/// # Arguments
///
/// * `xml_source` - input XML string