<?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 Splitting dynamic text strings with XML tags in Cartography and Maps Questions</title>
    <link>https://community.esri.com/t5/cartography-and-maps-questions/splitting-dynamic-text-strings-with-xml-tags/m-p/861055#M765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked this question in GeoNet Help but&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/2122"&gt;Adrian Welsh&lt;/A&gt;&amp;nbsp; suggested that may be it should &amp;nbsp;posted here. Below is my original question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="background-color: #ffffff; border: 0px; padding: 30px 50px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Is there a way to extract parts of text from a dynamic text using xml tags? What I would like to do is to extract the number from an mxd file name and write it to a text box inside arcmap which is the caption. Example:&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;filename: Fig_3_Test.mxd&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;caption:&amp;nbsp;&amp;lt;dyn type="document" property="name" split text start =3 end = 5/&amp;gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Thanks in advance&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Nahide&lt;/P&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff; border-width: 1px 0px 0px; border-style: solid initial initial initial; border-color: rgba(0, 0, 0, 0.1) initial initial initial; font-size: 14px; padding: 30px 50px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;No one else has this question&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 20:33:47 GMT</pubDate>
    <dc:creator>Z__NahideAydin1</dc:creator>
    <dc:date>2017-08-01T20:33:47Z</dc:date>
    <item>
      <title>Splitting dynamic text strings with XML tags</title>
      <link>https://community.esri.com/t5/cartography-and-maps-questions/splitting-dynamic-text-strings-with-xml-tags/m-p/861055#M765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked this question in GeoNet Help but&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/2122"&gt;Adrian Welsh&lt;/A&gt;&amp;nbsp; suggested that may be it should &amp;nbsp;posted here. Below is my original question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="background-color: #ffffff; border: 0px; padding: 30px 50px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Is there a way to extract parts of text from a dynamic text using xml tags? What I would like to do is to extract the number from an mxd file name and write it to a text box inside arcmap which is the caption. Example:&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;filename: Fig_3_Test.mxd&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;caption:&amp;nbsp;&amp;lt;dyn type="document" property="name" split text start =3 end = 5/&amp;gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Thanks in advance&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Nahide&lt;/P&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff; border-width: 1px 0px 0px; border-style: solid initial initial initial; border-color: rgba(0, 0, 0, 0.1) initial initial initial; font-size: 14px; padding: 30px 50px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;No one else has this question&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 20:33:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/cartography-and-maps-questions/splitting-dynamic-text-strings-with-xml-tags/m-p/861055#M765</guid>
      <dc:creator>Z__NahideAydin1</dc:creator>
      <dc:date>2017-08-01T20:33:47Z</dc:date>
    </item>
  </channel>
</rss>

