<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to find missing element from a XML]]></title><description><![CDATA[<p dir="auto">I have an XML(Group of 100+ strings) with a missing Schema Element “&lt;OrderingClinician&gt;” which used to come in between two Schema Element “&lt;Net&gt;” &amp; “&lt;Clinician&gt;”.</p>
<p dir="auto">How to find the Missing Schema Element from an XML in Notpad++?</p>
<p dir="auto"><img src="/assets/uploads/files/1636810654317-d84695ad-5530-4176-bba6-f20a9cc6955a-image.png" alt="d84695ad-5530-4176-bba6-f20a9cc6955a-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22124/how-to-find-missing-element-from-a-xml</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 00:47:16 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22124.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 Nov 2021 13:38:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to find missing element from a XML on Sat, 13 Nov 2021 17:31:18 GMT]]></title><description><![CDATA[<p dir="auto">@ajith-k</p>
<pre><code>    &lt;Net&gt;Seomthing&lt;/Net&gt;
    &lt;Clinician&gt;Something&lt;/Clinician&gt;
    &lt;Net&gt;Here&lt;/Net&gt;
    &lt;OrderingClinician&gt;There&lt;/OrderingClinician&gt;
    &lt;Clinician&gt;Everywhere&lt;/Clinician&gt;
</code></pre>
<ul>
<li>FIND = <code>(?s)&lt;/Net&gt;\K((?!&lt;OrderingClinician).)*?(?=(\s*)&lt;Clinician&gt;)</code></li>
<li>REPLACE = <code>$1$2&lt;OrderingClinician&gt;Was Missing&lt;/OrderingClinician&gt;</code></li>
<li>SEARCH MODE = regular expression</li>
</ul>
<pre><code>    &lt;Net&gt;Seomthing&lt;/Net&gt;
    &lt;OrderingClinician&gt;Was Missing&lt;/OrderingClinician&gt;
    &lt;Clinician&gt;Something&lt;/Clinician&gt;
    &lt;Net&gt;Here&lt;/Net&gt;
    &lt;OrderingClinician&gt;There&lt;/OrderingClinician&gt;
    &lt;Clinician&gt;Everywhere&lt;/Clinician&gt;
</code></pre>
<p dir="auto">This will insert the OrderingClinician between the Net and Clinician if it’s missing, and indent the same amount as the Clinician.</p>
<p dir="auto">-—</p>
<h3>Useful References</h3>
<ul>
<li><a href="https://community.notepad-plus-plus.org/topic/21965/please-read-before-posting">Please Read Before Posting</a></li>
<li><a href="https://community.notepad-plus-plus.org/topic/22022/template-for-search-replace-questions">Template for Search/Replace Questions</a></li>
<li><a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regular-expressions-regex-documentation">FAQ: Where to find regular expressions (regex) documentation</a></li>
<li><a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">Notepad++ Online User Manual: Searching/Regex</a></li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/71261</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71261</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 13 Nov 2021 17:31:18 GMT</pubDate></item></channel></rss>