RELS.XLMETA = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata"; function parse_xlmeta_xml(data, name, opts) { var out = { Types: [] }; if (!data) return out; var pass = false; data.replace(tagregex, function(x, idx) { var y = parsexmltag(x); switch (strip_ns(y[0])) { case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": case "": case "": break; case "": pass = false; break; default: if (!pass && opts.WTF) throw new Error("unrecognized " + y[0] + " in metadata"); } return x; }); return out; } function write_xlmeta_xml() { var o = [XML_HEADER]; o.push('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'); return o.join(""); }