pub const W_NS: &str = "http://schemas.openxmlformats.org/wordprocessingml/2006/main";
pub const W_PREFIX: &[u8] = b"w";
pub const R_NS: &str = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
pub const MC_NS: &str = "http://schemas.openxmlformats.org/markup-compatibility/2006";
pub fn matches_local_name(tag: &[u8], local_name: &[u8]) -> bool {
if tag == local_name {
return true;
}
if let Some(pos) = tag.iter().position(|&b| b == b':') {
&tag[pos + 1..] == local_name
} else {
false
}
}