<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Search Through XML in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Search-Through-XML/m-p/124589#M25514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so i am working with xml for the first time.&amp;nbsp; it basically categorizes a bunch of variables into different types with different attributes.&amp;nbsp; the numer of variables and name of variables are dynamic and will be different each time.&lt;/P&gt;&lt;P&gt;what i need to do is search through the xml statement and break it down into smaller pieces for further processing (of course, if there is an easier way, let me know)&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;&amp;lt;A&amp;gt;.............................&amp;lt;END&amp;gt;&amp;lt;B&amp;gt;.......&amp;lt;END&amp;gt;&amp;lt;C&amp;gt;........................................................................&amp;lt;END&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's easy to find the starting position of A, B, or C, but haven't had any luck getting the "end" position.&amp;nbsp; i used find, findw, index, indexw, and all, nothing seems to work for me.&lt;/P&gt;&lt;P&gt;i just want it to break into &amp;lt;A&amp;gt;...........................&amp;lt;END&amp;gt; into 1 variable, so on for B and C into their own variables as well.&lt;/P&gt;&lt;P&gt;then after that, i will use variables within each segment to further process the dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 10:44:15 GMT</pubDate>
    <dc:creator>Grumbler</dc:creator>
    <dc:date>2013-07-02T10:44:15Z</dc:date>
    <item>
      <title>Search Through XML</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-Through-XML/m-p/124589#M25514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so i am working with xml for the first time.&amp;nbsp; it basically categorizes a bunch of variables into different types with different attributes.&amp;nbsp; the numer of variables and name of variables are dynamic and will be different each time.&lt;/P&gt;&lt;P&gt;what i need to do is search through the xml statement and break it down into smaller pieces for further processing (of course, if there is an easier way, let me know)&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;&amp;lt;A&amp;gt;.............................&amp;lt;END&amp;gt;&amp;lt;B&amp;gt;.......&amp;lt;END&amp;gt;&amp;lt;C&amp;gt;........................................................................&amp;lt;END&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's easy to find the starting position of A, B, or C, but haven't had any luck getting the "end" position.&amp;nbsp; i used find, findw, index, indexw, and all, nothing seems to work for me.&lt;/P&gt;&lt;P&gt;i just want it to break into &amp;lt;A&amp;gt;...........................&amp;lt;END&amp;gt; into 1 variable, so on for B and C into their own variables as well.&lt;/P&gt;&lt;P&gt;then after that, i will use variables within each segment to further process the dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 10:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-Through-XML/m-p/124589#M25514</guid>
      <dc:creator>Grumbler</dc:creator>
      <dc:date>2013-07-02T10:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Search Through XML</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-Through-XML/m-p/124590#M25515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check xml engine of libname?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname x xml 'c:\x.xml' ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 10:50:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-Through-XML/m-p/124590#M25515</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2013-07-02T10:50:36Z</dc:date>
    </item>
  </channel>
</rss>

