MCPcopy Create free account
hub / github.com/daisy/MathCAT / create_mathml_element

Function create_mathml_element

src/canonicalize.rs:315–319  ·  view source on GitHub ↗
(doc: &Document<'a>, name: &str)

Source from the content-addressed store, hash-verified

313
314
315pub fn create_mathml_element<'a>(doc: &Document<'a>, name: &str) -> Element<'a> {
316 return doc.create_element(sxd_document::QName::with_namespace_uri(
317 Some("http://www.w3.org/1998/Math/MathML"),
318 name));
319}
320
321pub fn is_fence(mo: Element) -> bool {
322 return CanonicalizeContext::new()

Callers 15

newMethod · 0.85
with_opMethod · 0.85
replace_childrenFunction · 0.85
canonicalizeMethod · 0.85
create_empty_elementMethod · 0.85
clean_mathmlMethod · 0.85
split_elementMethod · 0.85
handle_pseudo_scriptsMethod · 0.85
add_pairMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected