[{"data":1,"prerenderedAt":1035},["ShallowReactive",2],{"navigation_docs_en":3,"-en-xml-parsing":237,"-en-xml-parsing-surround":1030},[4,23,61,91,163],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting Started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F01.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F01.getting-started\u002F01.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F01.getting-started\u002F02.installation",{"title":19,"path":20,"stem":21},"AI Integration","\u002Fen\u002Fgetting-started\u002Fai-integration","en\u002F01.getting-started\u002F03.ai-integration",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"CORE","i-lucide-box","\u002Fen\u002Fcore","en\u002F02.core",[29,33,37,41,45,49,53,57],{"title":30,"path":31,"stem":32},"@office-open\u002Fcore","\u002Fen\u002Fcore\u002Foverview","en\u002F02.core\u002F01.overview",{"title":34,"path":35,"stem":36},"XML Components","\u002Fen\u002Fcore\u002Fxml-components","en\u002F02.core\u002F02.xml-components",{"title":38,"path":39,"stem":40},"Values and Validation","\u002Fen\u002Fcore\u002Fvalues","en\u002F02.core\u002F03.values",{"title":42,"path":43,"stem":44},"Unit Converters","\u002Fen\u002Fcore\u002Fconverters","en\u002F02.core\u002F04.converters",{"title":46,"path":47,"stem":48},"Formatter","\u002Fen\u002Fcore\u002Fformatter","en\u002F02.core\u002F05.formatter",{"title":50,"path":51,"stem":52},"Parser","\u002Fen\u002Fcore\u002Fparser","en\u002F02.core\u002F06.parser",{"title":54,"path":55,"stem":56},"Archive","\u002Fen\u002Fcore\u002Farchive","en\u002F02.core\u002F07.archive",{"title":58,"path":59,"stem":60},"Charts","\u002Fen\u002Fcore\u002Fcharts","en\u002F02.core\u002F08.charts",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":22},"XML","i-lucide-code-xml","\u002Fen\u002Fxml","en\u002F03.xml",[67,71,75,79,83,87],{"title":68,"path":69,"stem":70},"@office-open\u002Fxml","\u002Fen\u002Fxml\u002Foverview","en\u002F03.xml\u002F01.overview",{"title":72,"path":73,"stem":74},"Parsing","\u002Fen\u002Fxml\u002Fparsing","en\u002F03.xml\u002F02.parsing",{"title":76,"path":77,"stem":78},"Serialization","\u002Fen\u002Fxml\u002Fserialization","en\u002F03.xml\u002F03.serialization",{"title":80,"path":81,"stem":82},"Query Utilities","\u002Fen\u002Fxml\u002Fquery-utilities","en\u002F03.xml\u002F04.query-utilities",{"title":84,"path":85,"stem":86},"XML Escape","\u002Fen\u002Fxml\u002Fescape","en\u002F03.xml\u002F05.escape",{"title":88,"path":89,"stem":90},"Type Reference","\u002Fen\u002Fxml\u002Ftypes","en\u002F03.xml\u002F06.types",{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":22},"DOCX","i-lucide-file-text","\u002Fen\u002Fdocx","en\u002F04.docx",[97,101,105,109,113,117,120,124,128,132,136,140,144,148,152,156,160],{"title":98,"path":99,"stem":100},"@office-open\u002Fdocx","\u002Fen\u002Fdocx\u002Foverview","en\u002F04.docx\u002F01.overview",{"title":102,"path":103,"stem":104},"Quick Start","\u002Fen\u002Fdocx\u002Fquickstart","en\u002F04.docx\u002F02.quickstart",{"title":106,"path":107,"stem":108},"Text and Paragraphs","\u002Fen\u002Fdocx\u002Ftext-and-paragraphs","en\u002F04.docx\u002F03.text-and-paragraphs",{"title":110,"path":111,"stem":112},"Tables","\u002Fen\u002Fdocx\u002Ftables","en\u002F04.docx\u002F04.tables",{"title":114,"path":115,"stem":116},"Images","\u002Fen\u002Fdocx\u002Fimages","en\u002F04.docx\u002F05.images",{"title":58,"path":118,"stem":119},"\u002Fen\u002Fdocx\u002Fcharts","en\u002F04.docx\u002F06.charts",{"title":121,"path":122,"stem":123},"SmartArt","\u002Fen\u002Fdocx\u002Fsmartart","en\u002F04.docx\u002F07.smartart",{"title":125,"path":126,"stem":127},"Media","\u002Fen\u002Fdocx\u002Fmedia","en\u002F04.docx\u002F08.media",{"title":129,"path":130,"stem":131},"Links","\u002Fen\u002Fdocx\u002Flinks","en\u002F04.docx\u002F09.links",{"title":133,"path":134,"stem":135},"Headers and Footers","\u002Fen\u002Fdocx\u002Fheaders-and-footers","en\u002F04.docx\u002F10.headers-and-footers",{"title":137,"path":138,"stem":139},"Equations and Symbols","\u002Fen\u002Fdocx\u002Fequations-and-symbols","en\u002F04.docx\u002F11.equations-and-symbols",{"title":141,"path":142,"stem":143},"Styles and Themes","\u002Fen\u002Fdocx\u002Fstyles-and-themes","en\u002F04.docx\u002F12.styles-and-themes",{"title":145,"path":146,"stem":147},"Page Layout","\u002Fen\u002Fdocx\u002Fpage-layout","en\u002F04.docx\u002F13.page-layout",{"title":149,"path":150,"stem":151},"References","\u002Fen\u002Fdocx\u002Freferences","en\u002F04.docx\u002F14.references",{"title":153,"path":154,"stem":155},"Comments and Revisions","\u002Fen\u002Fdocx\u002Fcomments-and-revisions","en\u002F04.docx\u002F15.comments-and-revisions",{"title":157,"path":158,"stem":159},"Export","\u002Fen\u002Fdocx\u002Fexport","en\u002F04.docx\u002F16.export",{"title":72,"path":161,"stem":162},"\u002Fen\u002Fdocx\u002Fparsing","en\u002F04.docx\u002F17.parsing",{"title":164,"icon":165,"path":166,"stem":167,"children":168,"page":22},"PPTX","i-lucide-presentation","\u002Fen\u002Fpptx","en\u002F05.pptx",[169,173,176,180,183,186,189,192,195,198,201,204,208,211,215,219,223,227,230,233],{"title":170,"path":171,"stem":172},"@office-open\u002Fpptx","\u002Fen\u002Fpptx\u002Foverview","en\u002F05.pptx\u002F01.overview",{"title":102,"path":174,"stem":175},"\u002Fen\u002Fpptx\u002Fquickstart","en\u002F05.pptx\u002F02.quickstart",{"title":177,"path":178,"stem":179},"Shapes and Text","\u002Fen\u002Fpptx\u002Fshapes-and-text","en\u002F05.pptx\u002F03.shapes-and-text",{"title":110,"path":181,"stem":182},"\u002Fen\u002Fpptx\u002Ftables","en\u002F05.pptx\u002F04.tables",{"title":114,"path":184,"stem":185},"\u002Fen\u002Fpptx\u002Fimages","en\u002F05.pptx\u002F05.images",{"title":58,"path":187,"stem":188},"\u002Fen\u002Fpptx\u002Fcharts","en\u002F05.pptx\u002F06.charts",{"title":121,"path":190,"stem":191},"\u002Fen\u002Fpptx\u002Fsmartart","en\u002F05.pptx\u002F07.smartart",{"title":125,"path":193,"stem":194},"\u002Fen\u002Fpptx\u002Fmedia","en\u002F05.pptx\u002F08.media",{"title":129,"path":196,"stem":197},"\u002Fen\u002Fpptx\u002Flinks","en\u002F05.pptx\u002F09.links",{"title":133,"path":199,"stem":200},"\u002Fen\u002Fpptx\u002Fheaders-and-footers","en\u002F05.pptx\u002F10.headers-and-footers",{"title":137,"path":202,"stem":203},"\u002Fen\u002Fpptx\u002Fequations-and-symbols","en\u002F05.pptx\u002F11.equations-and-symbols",{"title":205,"path":206,"stem":207},"Lines and Connectors","\u002Fen\u002Fpptx\u002Flines-and-connectors","en\u002F05.pptx\u002F12.lines-and-connectors",{"title":141,"path":209,"stem":210},"\u002Fen\u002Fpptx\u002Fstyles-and-themes","en\u002F05.pptx\u002F13.styles-and-themes",{"title":212,"path":213,"stem":214},"Effects and Fills","\u002Fen\u002Fpptx\u002Feffects-and-fills","en\u002F05.pptx\u002F14.effects-and-fills",{"title":216,"path":217,"stem":218},"Slide Layout","\u002Fen\u002Fpptx\u002Fslide-layout","en\u002F05.pptx\u002F15.slide-layout",{"title":220,"path":221,"stem":222},"Transitions","\u002Fen\u002Fpptx\u002Ftransitions","en\u002F05.pptx\u002F16.transitions",{"title":224,"path":225,"stem":226},"Animations","\u002Fen\u002Fpptx\u002Fanimations","en\u002F05.pptx\u002F17.animations",{"title":157,"path":228,"stem":229},"\u002Fen\u002Fpptx\u002Fexport","en\u002F05.pptx\u002F18.export",{"title":72,"path":231,"stem":232},"\u002Fen\u002Fpptx\u002Fparsing","en\u002F05.pptx\u002F19.parsing",{"title":234,"path":235,"stem":236},"Comments","\u002Fen\u002Fpptx\u002Fcomments","en\u002F05.pptx\u002F20.comments",{"id":238,"title":72,"body":239,"description":1024,"extension":1025,"links":1026,"meta":1027,"navigation":297,"path":73,"seo":1028,"stem":74,"__hash__":1029},"docs_en\u002Fen\u002F03.xml\u002F02.parsing.md",{"type":240,"value":241,"toc":1014},"minimark",[242,247,361,373,377,437,442,602,606,612,699,702,746,750,753,797,808,812,815,881,885,891,1010],[243,244,246],"h2",{"id":245},"basic-parsing","Basic Parsing",[248,249,254],"pre",{"className":250,"code":251,"language":252,"meta":253,"style":253},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { parse } from \"@office-open\u002Fxml\";\n\nconst root = parse(`\u003Cw:p xmlns:w=\"http:\u002F\u002Fschemas.openxmlformats.org\u002Fwordprocessingml\u002F2006\u002Fmain\">\n  \u003Cw:r>\u003Cw:t>Hello\u003C\u002Fw:t>\u003C\u002Fw:r>\n\u003C\u002Fw:p>`);\n\n\u002F\u002F root.name === \"w:p\"\n\u002F\u002F root.elements[0].name === \"w:r\"\n","ts","",[255,256,257,292,299,324,330,343,348,355],"code",{"__ignoreMap":253},[258,259,262,266,270,274,277,280,283,286,289],"span",{"class":260,"line":261},"line",1,[258,263,265],{"class":264},"s7zQu","import",[258,267,269],{"class":268},"sMK4o"," {",[258,271,273],{"class":272},"sTEyZ"," parse",[258,275,276],{"class":268}," }",[258,278,279],{"class":264}," from",[258,281,282],{"class":268}," \"",[258,284,68],{"class":285},"sfazB",[258,287,288],{"class":268},"\"",[258,290,291],{"class":268},";\n",[258,293,295],{"class":260,"line":294},2,[258,296,298],{"emptyLinePlaceholder":297},true,"\n",[258,300,302,306,309,312,315,318,321],{"class":260,"line":301},3,[258,303,305],{"class":304},"spNyl","const",[258,307,308],{"class":272}," root ",[258,310,311],{"class":268},"=",[258,313,273],{"class":314},"s2Zo4",[258,316,317],{"class":272},"(",[258,319,320],{"class":268},"`",[258,322,323],{"class":285},"\u003Cw:p xmlns:w=\"http:\u002F\u002Fschemas.openxmlformats.org\u002Fwordprocessingml\u002F2006\u002Fmain\">\n",[258,325,327],{"class":260,"line":326},4,[258,328,329],{"class":285},"  \u003Cw:r>\u003Cw:t>Hello\u003C\u002Fw:t>\u003C\u002Fw:r>\n",[258,331,333,336,338,341],{"class":260,"line":332},5,[258,334,335],{"class":285},"\u003C\u002Fw:p>",[258,337,320],{"class":268},[258,339,340],{"class":272},")",[258,342,291],{"class":268},[258,344,346],{"class":260,"line":345},6,[258,347,298],{"emptyLinePlaceholder":297},[258,349,351],{"class":260,"line":350},7,[258,352,354],{"class":353},"sHwdD","\u002F\u002F root.name === \"w:p\"\n",[258,356,358],{"class":260,"line":357},8,[258,359,360],{"class":353},"\u002F\u002F root.elements[0].name === \"w:r\"\n",[362,363,364,365,368,369,372],"p",{},"The ",[255,366,367],{},"parse"," function converts an XML string into an ",[255,370,371],{},"Element"," tree following the xml-js format.",[243,374,376],{"id":375},"parsexml-options","parse(xml, options?)",[248,378,380],{"className":250,"code":379,"language":252,"meta":253,"style":253},"const root = parse(xmlString, {\n    trim: true,\n    ignoreComment: true,\n});\n",[255,381,382,401,417,428],{"__ignoreMap":253},[258,383,384,386,388,390,392,395,398],{"class":260,"line":261},[258,385,305],{"class":304},[258,387,308],{"class":272},[258,389,311],{"class":268},[258,391,273],{"class":314},[258,393,394],{"class":272},"(xmlString",[258,396,397],{"class":268},",",[258,399,400],{"class":268}," {\n",[258,402,403,407,410,414],{"class":260,"line":294},[258,404,406],{"class":405},"swJcz","    trim",[258,408,409],{"class":268},":",[258,411,413],{"class":412},"sfNiH"," true",[258,415,416],{"class":268},",\n",[258,418,419,422,424,426],{"class":260,"line":301},[258,420,421],{"class":405},"    ignoreComment",[258,423,409],{"class":268},[258,425,413],{"class":412},[258,427,416],{"class":268},[258,429,430,433,435],{"class":260,"line":326},[258,431,432],{"class":268},"}",[258,434,340],{"class":272},[258,436,291],{"class":268},[438,439,441],"h3",{"id":440},"options","Options",[443,444,445,464],"table",{},[446,447,448],"thead",{},[449,450,451,455,458,461],"tr",{},[452,453,454],"th",{},"Option",[452,456,457],{},"Type",[452,459,460],{},"Default",[452,462,463],{},"Description",[465,466,467,488,509,530,548,566,584],"tbody",{},[449,468,469,475,480,485],{},[470,471,472],"td",{},[255,473,474],{},"trim",[470,476,477],{},[255,478,479],{},"boolean",[470,481,482],{},[255,483,484],{},"false",[470,486,487],{},"Trim whitespace in text nodes",[449,489,490,495,499,503],{},[470,491,492],{},[255,493,494],{},"ignoreDeclaration",[470,496,497],{},[255,498,479],{},[470,500,501],{},[255,502,484],{},[470,504,505,506,340],{},"Skip XML declaration (",[255,507,508],{},"\u003C?xml ...?>",[449,510,511,516,520,524],{},[470,512,513],{},[255,514,515],{},"ignoreComment",[470,517,518],{},[255,519,479],{},[470,521,522],{},[255,523,484],{},[470,525,526,527,340],{},"Skip XML comments (",[255,528,529],{},"\u003C!-- -->",[449,531,532,537,541,545],{},[470,533,534],{},[255,535,536],{},"ignoreCdata",[470,538,539],{},[255,540,479],{},[470,542,543],{},[255,544,484],{},[470,546,547],{},"Skip CDATA sections",[449,549,550,555,559,563],{},[470,551,552],{},[255,553,554],{},"ignoreDoctype",[470,556,557],{},[255,558,479],{},[470,560,561],{},[255,562,484],{},[470,564,565],{},"Skip DOCTYPE declarations",[449,567,568,573,577,581],{},[470,569,570],{},[255,571,572],{},"ignoreText",[470,574,575],{},[255,576,479],{},[470,578,579],{},[255,580,484],{},[470,582,583],{},"Skip text nodes",[449,585,586,591,595,599],{},[470,587,588],{},[255,589,590],{},"nativeTypeAttributes",[470,592,593],{},[255,594,479],{},[470,596,597],{},[255,598,484],{},[470,600,601],{},"Convert attribute values to native types",[243,603,605],{"id":604},"element-structure","Element Structure",[362,607,608,609,611],{},"Each parsed node is an ",[255,610,371],{}," object:",[248,613,615],{"className":250,"code":614,"language":252,"meta":253,"style":253},"interface Element {\n    type: \"element\";\n    name: string;\n    attributes?: Record\u003Cstring, string>;\n    elements?: Element[];\n}\n",[255,616,617,628,644,656,680,694],{"__ignoreMap":253},[258,618,619,622,626],{"class":260,"line":261},[258,620,621],{"class":304},"interface",[258,623,625],{"class":624},"sBMFI"," Element",[258,627,400],{"class":268},[258,629,630,633,635,637,640,642],{"class":260,"line":294},[258,631,632],{"class":405},"    type",[258,634,409],{"class":268},[258,636,282],{"class":268},[258,638,639],{"class":285},"element",[258,641,288],{"class":268},[258,643,291],{"class":268},[258,645,646,649,651,654],{"class":260,"line":301},[258,647,648],{"class":405},"    name",[258,650,409],{"class":268},[258,652,653],{"class":624}," string",[258,655,291],{"class":268},[258,657,658,661,664,667,670,673,675,677],{"class":260,"line":326},[258,659,660],{"class":405},"    attributes",[258,662,663],{"class":268},"?:",[258,665,666],{"class":624}," Record",[258,668,669],{"class":268},"\u003C",[258,671,672],{"class":624},"string",[258,674,397],{"class":268},[258,676,653],{"class":624},[258,678,679],{"class":268},">;\n",[258,681,682,685,687,689,692],{"class":260,"line":332},[258,683,684],{"class":405},"    elements",[258,686,663],{"class":268},[258,688,625],{"class":624},[258,690,691],{"class":272},"[]",[258,693,291],{"class":268},[258,695,696],{"class":260,"line":345},[258,697,698],{"class":268},"}\n",[362,700,701],{},"Text nodes have a different structure:",[248,703,705],{"className":250,"code":704,"language":252,"meta":253,"style":253},"\u002F\u002F Text element\n{ type: \"text\", text: \"Hello World\" }\n",[255,706,707,712],{"__ignoreMap":253},[258,708,709],{"class":260,"line":261},[258,710,711],{"class":353},"\u002F\u002F Text element\n",[258,713,714,717,720,722,724,727,729,731,734,736,738,741,743],{"class":260,"line":294},[258,715,716],{"class":268},"{",[258,718,719],{"class":624}," type",[258,721,409],{"class":268},[258,723,282],{"class":268},[258,725,726],{"class":285},"text",[258,728,288],{"class":268},[258,730,397],{"class":268},[258,732,733],{"class":624}," text",[258,735,409],{"class":268},[258,737,282],{"class":268},[258,739,740],{"class":285},"Hello World",[258,742,288],{"class":268},[258,744,745],{"class":268}," }\n",[243,747,749],{"id":748},"namespace-handling","Namespace Handling",[362,751,752],{},"Namespaces are preserved as regular attributes:",[248,754,756],{"className":250,"code":755,"language":252,"meta":253,"style":253},"const root = parse(`\u003Cw:p xmlns:w=\"http:\u002F\u002Fschemas.openxmlformats.org\u002Fwordprocessingml\u002F2006\u002Fmain\">\n  \u003Cw:r>\u003Cw:t>Hello\u003C\u002Fw:t>\u003C\u002Fw:r>\n\u003C\u002Fw:p>`);\n\n\u002F\u002F root.attributes[\"xmlns:w\"] === \"http:\u002F\u002Fschemas.openxmlformats.org\u002F...\"\n",[255,757,758,774,778,788,792],{"__ignoreMap":253},[258,759,760,762,764,766,768,770,772],{"class":260,"line":261},[258,761,305],{"class":304},[258,763,308],{"class":272},[258,765,311],{"class":268},[258,767,273],{"class":314},[258,769,317],{"class":272},[258,771,320],{"class":268},[258,773,323],{"class":285},[258,775,776],{"class":260,"line":294},[258,777,329],{"class":285},[258,779,780,782,784,786],{"class":260,"line":301},[258,781,335],{"class":285},[258,783,320],{"class":268},[258,785,340],{"class":272},[258,787,291],{"class":268},[258,789,790],{"class":260,"line":326},[258,791,298],{"emptyLinePlaceholder":297},[258,793,794],{"class":260,"line":332},[258,795,796],{"class":353},"\u002F\u002F root.attributes[\"xmlns:w\"] === \"http:\u002F\u002Fschemas.openxmlformats.org\u002F...\"\n",[362,798,799,800,803,804,807],{},"All element names include their prefix, so you query using ",[255,801,802],{},"\"w:p\"",", ",[255,805,806],{},"\"w:r\"",", etc.",[243,809,811],{"id":810},"xml2js-xml2json","xml2js \u002F xml2json",[362,813,814],{},"For xml-js compatibility, aliases are available:",[248,816,818],{"className":250,"code":817,"language":252,"meta":253,"style":253},"import { xml2js, xml2json } from \"@office-open\u002Fxml\";\n\nconst element = xml2js(xmlString);\nconst jsonString = xml2json(xmlString);\n",[255,819,820,846,850,866],{"__ignoreMap":253},[258,821,822,824,826,829,831,834,836,838,840,842,844],{"class":260,"line":261},[258,823,265],{"class":264},[258,825,269],{"class":268},[258,827,828],{"class":272}," xml2js",[258,830,397],{"class":268},[258,832,833],{"class":272}," xml2json",[258,835,276],{"class":268},[258,837,279],{"class":264},[258,839,282],{"class":268},[258,841,68],{"class":285},[258,843,288],{"class":268},[258,845,291],{"class":268},[258,847,848],{"class":260,"line":294},[258,849,298],{"emptyLinePlaceholder":297},[258,851,852,854,857,859,861,864],{"class":260,"line":301},[258,853,305],{"class":304},[258,855,856],{"class":272}," element ",[258,858,311],{"class":268},[258,860,828],{"class":314},[258,862,863],{"class":272},"(xmlString)",[258,865,291],{"class":268},[258,867,868,870,873,875,877,879],{"class":260,"line":326},[258,869,305],{"class":304},[258,871,872],{"class":272}," jsonString ",[258,874,311],{"class":268},[258,876,833],{"class":314},[258,878,863],{"class":272},[258,880,291],{"class":268},[243,882,884],{"id":883},"reading-from-zip-archives","Reading from ZIP Archives",[362,886,887,888,890],{},"Combine with ",[255,889,30],{}," to parse XML from OOXML files:",[248,892,894],{"className":250,"code":893,"language":252,"meta":253,"style":253},"import { readFileSync } from \"node:fs\";\nimport { unzipToMap, readXmlFromZip } from \"@office-open\u002Fcore\";\n\nconst zip = unzipToMap(readFileSync(\"document.docx\"));\nconst document = readXmlFromZip(zip, \"word\u002Fdocument.xml\");\n\u002F\u002F document is already an Element tree\n",[255,895,896,918,944,948,978,1005],{"__ignoreMap":253},[258,897,898,900,902,905,907,909,911,914,916],{"class":260,"line":261},[258,899,265],{"class":264},[258,901,269],{"class":268},[258,903,904],{"class":272}," readFileSync",[258,906,276],{"class":268},[258,908,279],{"class":264},[258,910,282],{"class":268},[258,912,913],{"class":285},"node:fs",[258,915,288],{"class":268},[258,917,291],{"class":268},[258,919,920,922,924,927,929,932,934,936,938,940,942],{"class":260,"line":294},[258,921,265],{"class":264},[258,923,269],{"class":268},[258,925,926],{"class":272}," unzipToMap",[258,928,397],{"class":268},[258,930,931],{"class":272}," readXmlFromZip",[258,933,276],{"class":268},[258,935,279],{"class":264},[258,937,282],{"class":268},[258,939,30],{"class":285},[258,941,288],{"class":268},[258,943,291],{"class":268},[258,945,946],{"class":260,"line":301},[258,947,298],{"emptyLinePlaceholder":297},[258,949,950,952,955,957,959,961,964,966,968,971,973,976],{"class":260,"line":326},[258,951,305],{"class":304},[258,953,954],{"class":272}," zip ",[258,956,311],{"class":268},[258,958,926],{"class":314},[258,960,317],{"class":272},[258,962,963],{"class":314},"readFileSync",[258,965,317],{"class":272},[258,967,288],{"class":268},[258,969,970],{"class":285},"document.docx",[258,972,288],{"class":268},[258,974,975],{"class":272},"))",[258,977,291],{"class":268},[258,979,980,982,985,987,989,992,994,996,999,1001,1003],{"class":260,"line":332},[258,981,305],{"class":304},[258,983,984],{"class":272}," document ",[258,986,311],{"class":268},[258,988,931],{"class":314},[258,990,991],{"class":272},"(zip",[258,993,397],{"class":268},[258,995,282],{"class":268},[258,997,998],{"class":285},"word\u002Fdocument.xml",[258,1000,288],{"class":268},[258,1002,340],{"class":272},[258,1004,291],{"class":268},[258,1006,1007],{"class":260,"line":345},[258,1008,1009],{"class":353},"\u002F\u002F document is already an Element tree\n",[1011,1012,1013],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":253,"searchDepth":294,"depth":294,"links":1015},[1016,1017,1020,1021,1022,1023],{"id":245,"depth":294,"text":246},{"id":375,"depth":294,"text":376,"children":1018},[1019],{"id":440,"depth":301,"text":441},{"id":604,"depth":294,"text":605},{"id":748,"depth":294,"text":749},{"id":810,"depth":294,"text":811},{"id":883,"depth":294,"text":884},"Parse XML strings into Element trees with configurable options","md",null,{},{"title":72,"description":1024},"wZbDjFDFyxzklKxtSwsoxQb_SQeAcUV-iAmZwNkhCbI",[1031,1033],{"title":68,"path":69,"stem":70,"description":1032,"children":-1},"XML parsing and serialization library for Office Open XML documents",{"title":76,"path":77,"stem":78,"description":1034,"children":-1},"Convert Element trees back to XML strings with formatting options",1778862995096]