9thme" /> <meta property="og:title" content="[Answered] How to load xml file with specifc paragraph by xml in Python? on python,xml,xml-parsing,minidom" /> <meta property="og:type" content="article" /> <meta property="article:tag" name="article:tag" content="python" /> <meta property="article:tag" name="article:tag" content="xml" /> <meta property="article:tag" name="article:tag" content="xml-parsing" /> <meta property="article:tag" name="article:tag" content="minidom" /> <meta property="og:url" content="https://www.devhide.com/how-to-load-xml-file-with-specifc-paragraph-by-xml-in-python-71061631" /> <meta property="og:description" content="I have a xml file and its structure like that, <?xml version="1.0" encoding="UTF-8" standalone="no"?> <book> <toc> <tocdiv pagenum="564"> <title>9thme" /> <meta property="og:site_name" content="Devhide" /> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://www.devhide.com/img/img_default.jpg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:url" content="https://www.devhide.com/how-to-load-xml-file-with-specifc-paragraph-by-xml-in-python-71061631" /> <meta name="twitter:domain" content="TechQA.club" /> <meta name="twitter:title" content="[Answered] How to load xml file with specifc paragraph by xml in Python? on python,xml,xml-parsing,minidom" /> <meta name="twitter:description" property="og:description" itemprop="description" content="I have a xml file and its structure like that, <?xml version="1.0" encoding="UTF-8" standalone="no"?> <book> <toc> <tocdiv pagenum="564"> <title>9thme"/> <meta property="article:published_time" content="2022-02-10T08:05:33.163000" /> <meta property="article:published_time" name="article:published_time" content="2022-02-10T08:05:33.163000" /> <meta property="article:modified_time" content="2025-12-10T05:27:41.297657" /> <meta property="article:modified_time" name="article:modified_time" content="2025-12-10T05:27:41.297657" /> <meta property="article:author:username" name="article:author:username" content="4daJKong" /> <meta property="og:site_name" name="og:site_name" content="Devhide" /> <meta property="og:locale" name="og:locale" content="en_US" /> <meta name="revisit-after" content="1"> <meta name="webcrawlers" content="all"> <meta name="spiders" content="all"> <meta name='language' content='en'/> <meta name='geo.placename' content='United States'/> <meta name='robots' content='index, follow'/> <meta name='Googlebot-Image' content='follow, all'/> <meta name='rating' content='general'/> <meta name='audience' content='all'/> <link rel='dns-prefetch' href='//code.jquery.com' /> <link type="text/css" rel="stylesheet" href="https://www.devhide.com/css/github.css"> <link rel="canonical" href="https://www.devhide.com/how-to-load-xml-file-with-specifc-paragraph-by-xml-in-python-71061631" > <link rel="alternate" href="https://techqa.club" hreflang="en"/> <link rel="shortcut icon" href="https://www.devhide.com/img/favicon.png " type="image/x-icon"> <link rel='dns-prefetch' href='//ajax.googleapis.com' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link rel='dns-prefetch' href='//code.jquery.com' /> <link rel='dns-prefetch' href='//highperformanceformat.com' /> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" rel="stylesheet" type="text/css"> <link type="text/css" rel="stylesheet" media="all" href="https://www.devhide.com/css/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="https://www.devhide.com/css/app.css"> <link type="text/css" rel="stylesheet" href="https://www.devhide.com/css/line-awesome.css"> <link type="text/css" rel="stylesheet" href="https://www.devhide.com/css/selectize.css"> <link type="text/css" rel="stylesheet" href="https://www.devhide.com/css/style.css"> <link href="/opensearch" rel="search" title="TechQA" type="application/opensearchdescription+xml"> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2199440138602787" crossorigin="anonymous"></script> </head> <body> <header class="header-area bg-white border-bottom border-bottom-gray"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-2"> <div class="logo-box"> <a href="/" class="navbar-brand">DEVHIDE</a> <div class="user-action"> <div class="search-menu-toggle icon-element icon-element-xs shadow-sm me-1" data-bs-toggle="tooltip" data-placement="top" aria-label="Search" data-bs-original-title="Search"> <i class="la la-search"></i> </div> <div class="off-canvas-menu-toggle icon-element icon-element-xs shadow-sm" data-bs-toggle="tooltip" data-placement="top" aria-label="Main menu" data-bs-original-title="Main menu"> <i class="la la-bars"></i> </div> </div> </div> </div><!-- end col-lg-2 --> <div class="col-lg-10"> <div class="menu-wrapper border-left border-left-gray ps-4 justify-content-end"> <nav class="menu-bar me-auto"> <ul> <li> <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> </li> <li class="is-mega-menu"> <a class="nav-link" href="https://www.devhide.com/pages/about-us">About</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/contact-us">Contact</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/cookie-policy">Cookie</a> </li> </ul><!-- end ul --> </nav><!-- end main-menu --> <form class="me-4" action="https://www.devhide.com/search" method="POST"> <div class="form-group mb-0"> <input type="hidden" name="_token" value="SxFGIefoWMJIQEcpJ4eIyYpYGZebZsXM8hnYJnYs" autocomplete="off"> <input aria-label="Search" type="text" id="searchKeyword" name="keyword" placeholder="Search question..." value="" maxlength="100" class="form-control form--control form--control-bg-gray" autocomplete="off"> <button class="form-btn" type="button" aria-label='search'><i class="la la-search"></i></button> </div> </form> </div><!-- end menu-wrapper --> </div><!-- end col-lg-10 --> </div><!-- end row --> </div><!-- end container --> <div class="off-canvas-menu custom-scrollbar-styled"> <div class="off-canvas-menu-close icon-element icon-element-sm shadow-sm" data-bs-toggle="tooltip" data-placement="left" data-bs-original-title="Close menu" role=''> <i class="la la-times"></i> </div><!-- end off-canvas-menu-close --> <ul class="generic-list-item off-canvas-menu-list pt-90px"> <li> <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> </li> <li class="is-mega-menu"> <a class="nav-link" href="https://www.devhide.com/pages/about-us">About</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/contact-us">Contact</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/cookie-policy">Cookie</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/disclaimer">Disclaimer</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/privacy-policy">Privacy</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/terms-and-conditions">TOS</a> </li> </ul> <div class="off-canvas-btn-box px-4 pt-5 text-center"> <a href="#" class="btn theme-btn theme-btn-sm theme-btn-outline" data-bs-toggle="modal" data-bs-target="#loginModal"><i class="la la-sign-in me-1"></i> Login</a> <span class="fs-15 fw-medium d-inline-block mx-2">Or</span> <a href="#" class="btn theme-btn theme-btn-sm" data-bs-toggle="modal" data-bs-target="#signUpModal"><i class="la la-plus me-1"></i> Sign up</a> </div> </div><!-- end off-canvas-menu --> <div class="mobile-search-form"> <div class="d-flex align-items-center"> <form class="me-4" action="https://www.devhide.com/search" method="POST"> <div class="form-group mb-0"> <input type="hidden" name="_token" value="SxFGIefoWMJIQEcpJ4eIyYpYGZebZsXM8hnYJnYs" autocomplete="off"> <input aria-label="Search" type="text" id="searchKeyword" name="keyword" placeholder="Search question..." value="" maxlength="100" class="form-control form--control form--control-bg-gray" autocomplete="off"> <button class="form-btn" type="button" aria-label='search'><i class="la la-search"></i></button> </div> </form> </div> </div><!-- end mobile-search-form --> <div class="body-overlay"></div> </header> <section role="main" class="main-content py-4"> <div class="container"> <div class="row"> <div class="col-md-8" itemscope="itemscope" itemtype="http://schema.org/QAPage"> <div class="setra my-2"> <script type="text/javascript"> atOptions = { 'key' : 'fb6fa8ce7d93be929489d8b65dee2ba5', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; </script> <script type="text/javascript" src="//www.highperformanceformat.com/fb6fa8ce7d93be929489d8b65dee2ba5/invoke.js"></script> </div> <div class="wrapperLayout" itemprop="mainEntity" itemscope="" itemtype="http://schema.org/Question"> <link itemprop="image" href="https://www.devhide.com/img/logo-default.png"> <div class="box question"> <div class="box-header with-border"> <h1 itemprop="name"> <a href="" title="How to load xml file with specifc paragraph by xml in Python?" title="How to load xml file with specifc paragraph by xml in Python?"> How to load xml file with specifc paragraph by xml in Python? </a> </h1> <span class="text-muted text-date"> <span title="98 views">98 Views</span> Asked by <span itemprop="author" itemscope itemtype="http://schema.org/Person"> <span itemprop="name"> <strong>4daJKong</strong> </span> </span> At <time datetime="2022-02-10T08:05:33.163000" itemprop="datePublished" title="2022-02-10T08:05:33.163000"> 10 February 2022 at 08:05 </time> <time class="d-none" itemprop="dateModified" > 2025-12-10T05:27:41.297657 </time> </span> </div> <div class="box-body"> <div itemprop="text" class="post-text"> <p>I have a xml file and its structure like that,</p> <pre><code><?xml version="1.0" encoding="UTF-8" standalone="no"?> <book> <toc> <tocdiv pagenum="564"> <title>9thmemo</title> <tocdiv pagenum="588"> <title>b</title> </tocdiv> </tocdiv></toc> <chapter><title>9thmemo</title> <para>...</para> <para>...</para></chapter> <chapter>...</chapter> <chapter>...</chapter> </book> </code></pre> <p>There are several chapters in the <code><book>...</book></code>, and each chapter has a title, I only want to read all content of this chapter,"9thmemo"(not others) I tried to read by following code:</p> <pre><code>from xml.dom import minidom filename = "result.xml" file = minidom.parse(filename) chapters = file.getElementsByTagName('chapter') for i in range(10): print(chapters[i]) </code></pre> <p>I only get the address of each chapter... if I add some sub-element like <code>chapters[i].title</code>, it shows cannot find this attribute</p> </div> <div class="tagcloud"> <a href="https://www.devhide.com/hashtag/python"> <span>python</span> </a> <a href="https://www.devhide.com/hashtag/xml"> <span>xml</span> </a> <a href="https://www.devhide.com/hashtag/xml-parsing"> <span>xml-parsing</span> </a> <a href="https://www.devhide.com/hashtag/minidom"> <span>minidom</span> </a> </div> </div> <div class="box-footer"> <span class="source"> <a href="https://stackoverflow.com/questions/71061631/how-to-load-xml-file-with-specifc-paragraph-by-xml-in-python" target="_blank" rel="nofollow"> Original Q&A </a> </span> </div> </div> <!-- ads here --> <div class="counter-header my-3"> <span class="d-none" itemprop="answerCount">1</span> <h2>There are <strong>1</strong> best solutions below</h2> </div> <div class="box answerQuestion"> <div id="wajab" class="box"> <div class="box mb-5"> <div class="post answerId-66a25dd9a06677a8f2721c81 accepted" id="answer-66a25dd9a06677a8f2721c81" class="box" data-answerid="66a25dd9a06677a8f2721c81" itemprop="acceptedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <a class="d-none" itemprop="url" href="#answer-66a25dd9a06677a8f2721c81"></a> <div class="vote-count d-none" itemprop="upvoteCount" data-value="3">3</div> <div class="box-header"> <span class="username"> <img src="/img/user-default.png" onerror="this.src='/img/user-default.png';" class="answerAva" alt="balderman" > <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name" class="author-name"> <strong>balderman</strong> </span> </span> <span title="2022-02-10T15:27:39.590000" class="dater d-none d-md-inline-block"> On <time itemprop="datePublished" title="2022-02-10T15:27:39.590000" datetime="2022-02-10T15:27:39.590000"> 10 February 2022 at 15:27 </time> </span> <span class="badge badge-primary"> BEST ANSWER </span> </span> </div> <div class="box-comment box-body"> <div class="comment-text"> <div class="" itemprop="text"> <blockquote> <p>I only want to read all content of this chapter,"9thmemo"(not others)</p> </blockquote> <p>The problem with the code is that it does not try to locate the specific 'chapter' while the answer code uses xpath in order to locate it.</p> <p>Try the below</p> <pre><code>import xml.etree.ElementTree as ET xml = '''<?xml version="1.0" encoding="UTF-8"?> <book> <toc> <tocdiv pagenum="564"> <title>9thmemo</title> <tocdiv pagenum="588"> <title>b</title> </tocdiv> </tocdiv> </toc> <chapter> <title>9thmemo</title> <para>A</para> <para>B</para> </chapter> <chapter>...</chapter> <chapter>...</chapter> </book>''' root = ET.fromstring(xml) chapter = root.find('.//chapter/[title="9thmemo"]') para_data = ','.join(p.text for p in chapter.findall('para')) print(para_data) </code></pre> <p>output</p> <pre><code>A,B </code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <!-- ads here --> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>PYTHON</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://www.devhide.com/how-to-store-a-date-time-in-sqlite-or-something-similar-to-a-date-78253161'> How to store a date/time in sqlite (or something similar to a date) </a> </li> <li> <a href='https://www.devhide.com/instagrapi-recently-showing-httperror-and-unknownerror-78253160'> Instagrapi recently showing HTTPError and UnknownError </a> </li> <li> <a href='https://www.devhide.com/how-to-retrieve-data-from-an-mysql-database-and-display-it-in-a-gui-78253151'> How to Retrieve Data from an MySQL Database and Display it in a GUI? </a> </li> <li> <a href='https://www.devhide.com/how-to-create-a-regular-expression-to-partition-a-string-that-terminates-in-either-45-or-without-the-78253136'> How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": " </a> </li> <li> <a href='https://www.devhide.com/python-geopandas-unable-to-convert-latitude-longitude-to-points-78253122'> Python Geopandas unable to convert latitude longitude to points </a> </li> <li> <a href='https://www.devhide.com/influence-of-unused-ffn-on-model-accuracy-in-pytorch-78253088'> Influence of Unused FFN on Model Accuracy in PyTorch </a> </li> <li> <a href='https://www.devhide.com/seeking-python-libraries-for-removing-extraneous-characters-and-spaces-in-text-78253077'> Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text </a> </li> <li> <a href='https://www.devhide.com/writes-to-child-subprocess-popen-stdin-don-t-work-from-within-process-group-78253071'> Writes to child subprocess.Popen.stdin don't work from within process group? </a> </li> <li> <a href='https://www.devhide.com/conda-has-two-different-python-binarys-python-and-python3-with-the-same-version-for-a-single-environment-why-78253060'> Conda has two different python binarys (python and python3) with the same version for a single environment. Why? </a> </li> <li> <a href='https://www.devhide.com/problem-with-add-new-attribute-in-table-with-boto3-on-python-78253056'> Problem with add new attribute in table with BOTO3 on python </a> </li> <li> <a href='https://www.devhide.com/can-t-install-packages-in-python-conda-environment-78253020'> Can't install packages in python conda environment </a> </li> <li> <a href='https://www.devhide.com/setting-diagonal-of-a-matrix-to-zero-78253018'> Setting diagonal of a matrix to zero </a> </li> <li> <a href='https://www.devhide.com/list-of-numbers-converted-to-list-of-strings-to-iterate-over-it-but-receiving-typeerror-messages-78252986'> List of numbers converted to list of strings to iterate over it. But receiving TypeError messages </a> </li> <li> <a href='https://www.devhide.com/basic-python-question-shortening-if-statements-78252983'> Basic Python Question: Shortening If Statements </a> </li> <li> <a href='https://www.devhide.com/python-and-regex-can-t-understand-why-some-words-are-left-out-of-the-match-78252973'> Python and regex, can't understand why some words are left out of the match </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>XML</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://www.devhide.com/postgres-statement-error-in-mybatis-mapper-78252756'> Postgres && statement Error in Mybatis Mapper? </a> </li> <li> <a href='https://www.devhide.com/sorting-items-after-building-an-xml-feed-78252559'> Sorting items after building an XML feed? </a> </li> <li> <a href='https://www.devhide.com/c-xml-modelbinding-asp-net-core-8-web-api-required-field-not-found-78252500'> C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found </a> </li> <li> <a href='https://www.devhide.com/how-can-i-create-an-automatic-table-of-contents-in-docx-without-the-text-being-bold-78251927'> How can I create an automatic table of contents in docx without the text being bold? </a> </li> <li> <a href='https://www.devhide.com/odoo-16-make-fields-readonly-using-xpath-78251324'> Odoo 16 Make Fields Readonly Using XPath </a> </li> <li> <a href='https://www.devhide.com/using-similar-tags-for-different-objects-in-xml-78250690'> Using similar tags for different objects in XML </a> </li> <li> <a href='https://www.devhide.com/android-studio-problem-like-gradle-sync-project-failed-and-plugin-error-version-2023-2-1-iguana-78250262'> Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana </a> </li> <li> <a href='https://www.devhide.com/error-cannot-find-symbol-view-root-inflater-inflate-r-layout-toolbar-parent-false-78248124'> error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false); </a> </li> <li> <a href='https://www.devhide.com/android-camera-application-restriction-to-12-mp-78245854'> Android camera application restriction to 12 mp </a> </li> <li> <a href='https://www.devhide.com/azure-data-factory-copy-activity-only-importing-first-row-of-xml-file-78245541'> Azure Data Factory Copy Activity Only Importing First Row of XML file </a> </li> <li> <a href='https://www.devhide.com/i-am-not-able-to-remove-space-below-the-navigation-view-icon-in-android-studio-what-s-wrong-with-code-78244413'> I am not able to remove space below the navigation view icon in android studio. What;s wrong with code? </a> </li> <li> <a href='https://www.devhide.com/field-can-be-converted-to-a-local-variable-convert-field-to-local-variable-in-oncreate-method-78243884'> Field can be converted to a local variable ,convert field to local variable in onCreate method </a> </li> <li> <a href='https://www.devhide.com/deserialize-xml-with-optional-different-name-78243120'> Deserialize XML with optional different name </a> </li> <li> <a href='https://www.devhide.com/retrieve-tags-from-xml-using-python-78242981'> Retrieve tags from xml using python </a> </li> <li> <a href='https://www.devhide.com/getting-attribute-from-xml-and-printing-it-error-78240405'> Getting attribute from xml and printing it error </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>XML-PARSING</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://www.devhide.com/gradle-saxparseexception-cvc-complex-type-2-4-a-78248388'> Gradle SAXParseException cvc-complex-type.2.4.a </a> </li> <li> <a href='https://www.devhide.com/xpath-how-to-exclude-text-from-child-node-78237516'> XPath - how to exclude text from child node </a> </li> <li> <a href='https://www.devhide.com/can-not-extract-resource-from-com-android-aaptcompiler-parsedresource-124d2e11-78217718'> Can not extract resource from com.android.aaptcompiler.ParsedResource@124d2e11 </a> </li> <li> <a href='https://www.devhide.com/cannot-access-podcast-category-from-rss-feed-using-feedkit-due-to-missing-member-78202970'> Cannot Access Podcast Category from RSS Feed Using FeedKit due to Missing Member </a> </li> <li> <a href='https://www.devhide.com/how-to-get-all-child-and-sibling-data-from-an-xml-file-and-output-to-a-table-78202247'> How to get all child and sibling data from an XML file and output to a table </a> </li> <li> <a href='https://www.devhide.com/uncaught-error-call-to-a-member-function-registerxpathnamespace-on-boolean-in-78159167'> Uncaught Error: Call to a member function registerXPathNamespace() on boolean in </a> </li> <li> <a href='https://www.devhide.com/dynamically-parsing-xml-in-databricks-78146603'> Dynamically parsing XML in Databricks </a> </li> <li> <a href='https://www.devhide.com/xml-namespaces-default-vs-namespace-prefix-78141849'> XML namespaces default vs namespace prefix </a> </li> <li> <a href='https://www.devhide.com/xml-parsing-in-snowflake-with-sub-nodes-78140324'> XML Parsing in Snowflake with sub nodes </a> </li> <li> <a href='https://www.devhide.com/parsing-an-xml-with-missing-content-78140253'> Parsing an XML with missing content </a> </li> <li> <a href='https://www.devhide.com/inserting-xml-tags-at-specific-part-of-file-without-disrupting-format-78130662'> Inserting XML tags at specific part of file without disrupting format </a> </li> <li> <a href='https://www.devhide.com/extracting-value-of-xml-in-postgresql-78128781'> Extracting value of xml in PostgreSQL </a> </li> <li> <a href='https://www.devhide.com/how-would-a-real-developer-do-this-78127274'> How would a real developer do this? </a> </li> <li> <a href='https://www.devhide.com/xml-tei-document-parsing-in-r-how-can-i-extract-only-the-head-78120100'> XML (TEI document) parsing in R: how can I extract only the head? </a> </li> <li> <a href='https://www.devhide.com/serializing-xml-into-poco-and-then-into-json-string-78117436'> Serializing XML into POCO and then into JSON string </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>MINIDOM</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://www.devhide.com/filter-xml-file-using-python-minidom-78129110'> Filter XML file using python minidom </a> </li> <li> <a href='https://www.devhide.com/issue-parsing-xml-using-python-minidom-78122841'> Issue Parsing XML using Python Minidom </a> </li> <li> <a href='https://www.devhide.com/attribute-name-object-associated-with-an-element-type-xml-dom-minidom-document-must-be-followed-by-the-character-error-from-api-77364419'> Attribute name "object" associated with an element type "xml.dom.minidom.Document" must be followed by the ' = ' character. Error from API </a> </li> <li> <a href='https://www.devhide.com/text-from-element-in-minidom-76715182'> text from element in minidom </a> </li> <li> <a href='https://www.devhide.com/how-to-read-all-svg-file-content-as-plain-text-76504267'> How to read all SVG file content as plain text? </a> </li> <li> <a href='https://www.devhide.com/how-to-go-to-sub-child-node-using-python-xml-dom-minidom-76084438'> How to go to sub child node using Python xml.dom.minidom </a> </li> <li> <a href='https://www.devhide.com/use-python-to-read-a-xml-file-with-duplicated-tag-name-75798327'> Use Python to read a XML file with duplicated tag name </a> </li> <li> <a href='https://www.devhide.com/parsing-custom-xml-file-using-python-75209367'> Parsing custom xml file using python </a> </li> <li> <a href='https://www.devhide.com/parse-xml-file-with-python-xml-dom-minidom-74907501'> Parse XML file with Python xml.dom.minidom </a> </li> <li> <a href='https://www.devhide.com/python-xml-parsing-removing-empty-cdata-nodes-74482942'> Python XML parsing removing empty CDATA nodes </a> </li> <li> <a href='https://www.devhide.com/append-new-values-in-xml-with-python-and-minidom-73818217'> append new values in xml with python and minidom </a> </li> <li> <a href='https://www.devhide.com/xml-document-editing-with-python-minidom-get-new-line-after-declaration-73498906'> XML document editing with Python (minidom) - get new line after declaration </a> </li> <li> <a href='https://www.devhide.com/getting-values-from-an-xml-file-that-has-deep-keys-and-values-73235414'> Getting values from an XML file that has deep keys and values </a> </li> <li> <a href='https://www.devhide.com/python-xml-parse-errors-with-invalid-token-72735369'> Python XML Parse errors with Invalid Token </a> </li> <li> <a href='https://www.devhide.com/how-to-extract-a-range-of-elements-from-xml-file-in-python-using-minidom-71990952'> How to extract a range of elements from xml file in python using minidom </a> </li> </ul> </div> </div> <div class="col-lg-4"> <div class="sidebar"> <div class="widget"> <script type="text/javascript"> atOptions = { 'key' : '85d394e5b99acb52afb83e3dde49240e', 'format' : 'iframe', 'height' : 50, 'width' : 320, 'params' : {} }; </script> <script type="text/javascript" src="//www.highperformanceformat.com/85d394e5b99acb52afb83e3dde49240e/invoke.js"></script> </div> <div class="widget"> <div class="widget-title"> <h4>Trending Questions</h4> </div> <ul class="relatedPost"><li> <a href='https://www.devhide.com/uiimageview-frame-doesn-t-reflect-constraints-32240629'> UIImageView Frame Doesn't Reflect Constraints </a> </li> <li> <a href='https://www.devhide.com/is-it-possible-to-use-adb-commands-to-click-on-a-view-by-finding-its-id-39315028'> Is it possible to use adb commands to click on a view by finding its ID? </a> </li> <li> <a href='https://www.devhide.com/how-to-create-a-new-web-character-symbol-recognizable-by-html-javascript-11059803'> How to create a new web character symbol recognizable by html/javascript? </a> </li> <li> <a href='https://www.devhide.com/why-isn-t-my-css3-animation-smooth-in-google-chrome-but-very-smooth-on-other-browsers-37629745'> Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)? </a> </li> <li> <a href='https://www.devhide.com/heap-gives-page-fault-39109581'> Heap Gives Page Fault </a> </li> <li> <a href='https://www.devhide.com/connect-ffmpeg-to-visual-studio-2008-17218902'> Connect ffmpeg to Visual Studio 2008 </a> </li> <li> <a href='https://www.devhide.com/both-object-and-valueanimator-jumps-when-duration-is-set-above-api-lvl-24-46991118'> Both Object- and ValueAnimator jumps when Duration is set above API LvL 24 </a> </li> <li> <a href='https://www.devhide.com/how-to-avoid-default-initialization-of-objects-in-std-vector-78203063'> How to avoid default initialization of objects in std::vector? </a> </li> <li> <a href='https://www.devhide.com/second-argument-of-the-command-line-arguments-in-a-format-other-than-char-argv-or-char-argv-60047957'> second argument of the command line arguments in a format other than char** argv or char* argv[] </a> </li> <li> <a href='https://www.devhide.com/how-to-improve-efficiency-of-algorithm-which-generates-next-lexicographic-permutation-43290467'> How to improve efficiency of algorithm which generates next lexicographic permutation? </a> </li> <li> <a href='https://www.devhide.com/navigating-to-the-another-actvity-app-getting-crash-in-android-44773528'> Navigating to the another actvity app getting crash in android </a> </li> <li> <a href='https://www.devhide.com/how-to-read-the-particular-message-format-in-android-and-store-in-sqlite-database-23211116'> How to read the particular message format in android and store in sqlite database? </a> </li> <li> <a href='https://www.devhide.com/resetting-inventory-status-after-order-is-cancelled-39125469'> Resetting inventory status after order is cancelled </a> </li> <li> <a href='https://www.devhide.com/efficiently-compute-powers-of-x-in-sse-avx-67955549'> Efficiently compute powers of X in SSE/AVX </a> </li> <li> <a href='https://www.devhide.com/insert-into-an-external-database-using-ajax-and-php-post-500-internal-server-error-43365921'> Insert into an external database using ajax and php : POST 500 (Internal Server Error) </a> </li> </ul> </div> <div class="widget"> <div class="widget-title"> <h4>Popular # Hahtags</h4> </div> <div class="tagcloud"><a href='https://www.devhide.com/hashtag/javascript' class="tag-link tag-link-md"> <span>javascript</span> </a> <a href='https://www.devhide.com/hashtag/python' class="tag-link tag-link-md"> <span>python</span> </a> <a href='https://www.devhide.com/hashtag/java' class="tag-link tag-link-md"> <span>java</span> </a> <a href='https://www.devhide.com/hashtag/c#' class="tag-link tag-link-md"> <span>c#</span> </a> <a href='https://www.devhide.com/hashtag/php' class="tag-link tag-link-md"> <span>php</span> </a> <a href='https://www.devhide.com/hashtag/android' class="tag-link tag-link-md"> <span>android</span> </a> <a href='https://www.devhide.com/hashtag/html' class="tag-link tag-link-md"> <span>html</span> </a> <a href='https://www.devhide.com/hashtag/jquery' class="tag-link tag-link-md"> <span>jquery</span> </a> <a href='https://www.devhide.com/hashtag/c++' class="tag-link tag-link-md"> <span>c++</span> </a> <a href='https://www.devhide.com/hashtag/css' class="tag-link tag-link-md"> <span>css</span> </a> <a href='https://www.devhide.com/hashtag/ios' class="tag-link tag-link-md"> <span>ios</span> </a> <a href='https://www.devhide.com/hashtag/sql' class="tag-link tag-link-md"> <span>sql</span> </a> <a href='https://www.devhide.com/hashtag/mysql' class="tag-link tag-link-md"> <span>mysql</span> </a> <a href='https://www.devhide.com/hashtag/r' class="tag-link tag-link-md"> <span>r</span> </a> <a href='https://www.devhide.com/hashtag/reactjs' class="tag-link tag-link-md"> <span>reactjs</span> </a> <a href='https://www.devhide.com/hashtag/node.js' class="tag-link tag-link-md"> <span>node.js</span> </a> <a href='https://www.devhide.com/hashtag/arrays' class="tag-link tag-link-md"> <span>arrays</span> </a> <a href='https://www.devhide.com/hashtag/c' class="tag-link tag-link-md"> <span>c</span> </a> <a href='https://www.devhide.com/hashtag/asp.net' class="tag-link tag-link-md"> <span>asp.net</span> </a> <a href='https://www.devhide.com/hashtag/json' class="tag-link tag-link-md"> <span>json</span> </a> </div> </div> <div class="widget"> <div class="widget-title"> <h4>Popular Questions</h4> </div> <ul class="popularPosts"><li> <a href='https://www.devhide.com/how-do-i-undo-the-most-recent-local-commits-in-git-927358'> How do I undo the most recent local commits in Git? </a> </li> <li> <a href='https://www.devhide.com/how-can-i-remove-a-specific-item-from-an-array-in-javascript-5767325'> How can I remove a specific item from an array in JavaScript? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-delete-a-git-branch-locally-and-remotely-2003505'> How do I delete a Git branch locally and remotely? </a> </li> <li> <a href='https://www.devhide.com/find-all-files-containing-a-specific-text-string-on-linux-16956810'> Find all files containing a specific text (string) on Linux? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-revert-a-git-repository-to-a-previous-commit-4114095'> How do I revert a Git repository to a previous commit? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-create-an-html-button-that-acts-like-a-link-2906582'> How do I create an HTML button that acts like a link? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-check-out-a-remote-git-branch-1783405'> How do I check out a remote Git branch? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-force-git-pull-to-overwrite-local-files-1125968'> How do I force "git pull" to overwrite local files? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-list-all-files-of-a-directory-3207219'> How do I list all files of a directory? </a> </li> <li> <a href='https://www.devhide.com/how-to-check-whether-a-string-contains-a-substring-in-javascript-1789945'> How to check whether a string contains a substring in JavaScript? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-redirect-to-another-webpage-503093'> How do I redirect to another webpage? </a> </li> <li> <a href='https://www.devhide.com/how-can-i-iterate-over-rows-in-a-pandas-dataframe-16476924'> How can I iterate over rows in a Pandas DataFrame? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-convert-a-string-to-an-int-in-java-5585779'> How do I convert a String to an int in Java? </a> </li> <li> <a href='https://www.devhide.com/does-python-have-a-string-contains-substring-method-3437059'> Does Python have a string 'contains' substring method? </a> </li> <li> <a href='https://www.devhide.com/how-do-i-check-if-a-string-contains-a-specific-word-4366730'> How do I check if a string contains a specific word? </a> </li> </ul> </div> <div class="widget"> <script type="text/javascript"> atOptions = { 'key' : '5572168bffcf77d6a9fd611324801b97', 'format' : 'iframe', 'height' : 250, 'width' : 300, 'params' : {} }; </script> <script type="text/javascript" src="//www.highperformanceformat.com/5572168bffcf77d6a9fd611324801b97/invoke.js"></script> <img src="/img_slug" alt="."> </div> </div> </div> </div> </div> </section> <section class="footer-area pt-80px position-relative"> <span class="vertical-bar-shape vertical-bar-shape-1"></span> <span class="vertical-bar-shape vertical-bar-shape-2"></span> <span class="vertical-bar-shape vertical-bar-shape-3"></span> <span class="vertical-bar-shape vertical-bar-shape-4"></span> <hr class="border-top-gray my-4"> <div class="container"> <div class="row align-items-center pb-4 copyright-wrap"> <div class="col-lg-3"> <p class="copyright-desc copyright--desc fs-14">Copyright © 2021 <a href="https://jogjafile.com/">Jogjafile</a> Inc.</p> </div> <div class="col-lg-9"> <ul class="generic-list-item generic-list-item-hover-underline generic-list-item-inline text-end"> <li> <a class="nav-link" href="https://www.devhide.com/pages/disclaimer">Disclaimer</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/privacy-policy">Privacy</a> </li> <li> <a class="nav-link" href="https://www.devhide.com/pages/terms-and-conditions">TOS</a> </li> <li> <a class="nav-link" href="https://homegardensmart.com/">Homegardensmart</a> </li> <li> <a class="nav-link" href="https://math.techqa.club/">Math</a> </li> <li> <a class="nav-link" href="https://aftereffectstemplates.net/">Aftereffectstemplates</a> </li> </ul> </div><!-- end col-lg-6 --> </div><!-- end row --> </div><!-- end container --> </section> <div id="back-to-top" data-bs-toggle="tooltip" data-placement="top" style="" data-bs-original-title="Return to top" role=''> <i class="la la-arrow-up"></i> </div> <script src="https://www.devhide.com/js/jquery-3.4.1.min.js"></script> <script src="https://www.devhide.com/js/bootstrap.bundle.min.js"></script> <script src="https://www.devhide.com/js/selectize.min.js"></script> <script src="https://www.devhide.com/js/main.js"></script> <script src="https://www.devhide.com/js/hljs.js"></script> <script>hljs.initHighlightingOnLoad();</script> </body> </html>