<?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[Need help with xml document]]></title><description><![CDATA[<p dir="auto"><a href="https://drive.google.com/file/d/0B58Zaq81bj4daEwtZVlITUVhSjQ/view?usp=sharing" rel="nofollow ugc">Here’s part of it.</a> So, im wondering how do I remove everything from the doc except for the body=“…” parts en masse? There are about 7000 entries like the one in the screenshot. Thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14189/need-help-with-xml-document</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 20:33:28 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14189.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Jul 2017 02:04:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need help with xml document on Fri, 21 Jul 2017 04:28:51 GMT]]></title><description><![CDATA[<p dir="auto">Dude. The answers that the other people on this board can give can be phenomenal if you give them a clear idea of what you’re trying to do and what you have to work with. Posting a picture of XML instead of actual XML is almost mean. /chastisement. :)</p>
<p dir="auto">It seems like you just want the contents of the body tag and you don’t need it to be in XML format. If that’s the case you can load the “XML Tools” plugin and do an “Evaluate XPath expression”. For instance if my XML looks like this:<br />
&lt;table&gt;<br />
&lt;sms protocol=“0”     date=“12.12.121.1”     type=“1”     subject=“null”     body=“this is some stuff”     &gt;&lt;/sms&gt;<br />
&lt;sms protocol=“1”     date=“12.12.121.2”     type=“1”     subject=“null”     body=“this is some stuff”     &gt;&lt;/sms&gt;<br />
&lt;sms protocol=“2”     date=“12.12.121.3”     type=“1”     subject=“null”     body=“this is some stuff”     &gt;&lt;/sms&gt;<br />
&lt;sms protocol=“3”     date=“12.12.121.4”     type=“1”     subject=“null”     body=“this is some stuff”     &gt;&lt;/sms&gt;<br />
&lt;/table&gt;</p>
<p dir="auto">I can put in /table/sms/@body and click the evaluate button in the XPath Expression Evaluation window and it will give me all the body attribute contents and I can copy them to the clipboard.</p>
<p dir="auto">If that’s not what you’re looking for, you may have to give a little more detail and maybe a bigger chunk of your XML.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25779</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25779</guid><dc:creator><![CDATA[cipher-1024]]></dc:creator><pubDate>Fri, 21 Jul 2017 04:28:51 GMT</pubDate></item></channel></rss>