pub fn extract_literal<'a>(
    element_ref: &ElementRef<'a>,
    ctx: &Context<'a>
) -> Result<Node<'a>, &'static str>