Build a namespace-aware xpath selector pre-bound to the OOXML prefixes in XPATH_NS. Use the returned function exactly like the xpath.select default export — it just spares every caller from re-declaring the namespace map.
XPATH_NS
xpath.select
Example: const $$ = makeSelect(); const paragraphs = $$("//w:p", doc) as Element[];
Build a namespace-aware xpath selector pre-bound to the OOXML prefixes in
XPATH_NS. Use the returned function exactly like thexpath.selectdefault export — it just spares every caller from re-declaring the namespace map.Example: const $$ = makeSelect(); const paragraphs = $$("//w:p", doc) as Element[];