<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/46385.aspx</link><pubDate>Fri, 28 Aug 2009 12:26:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46385</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46385</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;It worked, thank you so much for your help Hilary, and you as well Jimmy. Thanks to you to my form is up and running perfectly, and I am now the only person in my office out of the 500 employees that knows how to use InfoPath. You two have helped me add another skill to my resume (I&amp;#39;m still a beginner, but I&amp;#39;m on the right track) and become an indispensable employee.&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/46345.aspx</link><pubDate>Thu, 27 Aug 2009 17:19:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46345</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46345.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46345</wfw:commentRss><description>&lt;p&gt;Try concat:&lt;/p&gt;
&lt;p&gt;concat(substring(account, 1, 3), substring(account, 13, 6))&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/46344.aspx</link><pubDate>Thu, 27 Aug 2009 16:58:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46344</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46344</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;well, in all my infinite glory, i found what the problem was.&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;When i began trying to figure out the solution on my own before i started posting here, i had a rule setup in the account field, once i removed that rule, the code you taught me worked absolutely perfect! I want to thank you agian for all your help and putting up with a newbie like me.&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;With that being said, i have one final question:&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;some of the SysPrins have part of the sysprin at the begining of the number, and part at the end. i want to use substring to strip both parts and ad them together, not as in addition, but at in one after the other, into a new number, i just have no idea what operator i would use&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Code:&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font size="3"&gt;substring(account, 1, 3)&amp;nbsp;&lt;/font&gt;&lt;strong&gt;&lt;span style="FONT-SIZE:16pt;COLOR:red;"&gt;?&lt;/span&gt;&lt;/strong&gt;&lt;font size="3"&gt; substring(account, 13, 6)&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/46220.aspx</link><pubDate>Tue, 25 Aug 2009 19:31:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46220</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46220.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46220</wfw:commentRss><description>&lt;p&gt;It is set to query when the form is opened, i reloaded it to doublecheck&lt;/p&gt;
&lt;p&gt;and i should have noted that i changed the name of the XML doc to &amp;quot;System&amp;quot; from &amp;quot;Systems by sys prin&amp;quot; to make it easier for me to test my code&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;correct me if im wrong, but if it displays the &lt;strong&gt;State&lt;/strong&gt; when i enter in the account number manualy,&amp;nbsp; but not when the users enter it in the &lt;strong&gt;my:account&lt;/strong&gt; field, wouldnt that mean that the XML doc is loaded fine because it displayed the &lt;strong&gt;State&lt;/strong&gt; in the first place, and the problem was with the path to the &lt;strong&gt;my:account&lt;/strong&gt; field?&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/46061.aspx</link><pubDate>Wed, 19 Aug 2009 22:50:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46061</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46061</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;No, I don&amp;#39;t think that would be right.&amp;nbsp; That would be make some sense if &lt;b&gt;Row&lt;/b&gt; had a sibling called&lt;b&gt; Systems&lt;/b&gt;, but I don&amp;#39;t see a node called &lt;b&gt;Systems &lt;/b&gt;anywhere in your data source.&amp;nbsp; At the point where your red text starts, the XPath is positioned at a &lt;b&gt;Row&lt;/b&gt; node assuming the filter found something.&amp;nbsp; And the desired &lt;b&gt;State&lt;/b&gt; node is right under the Row node.&amp;nbsp; Are you still getting that error you mentioned?&amp;nbsp; That seems strange because you said that this one worked, albeit without the full functionality you want of course:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;span style="font-size:10pt;"&gt;&lt;font face="Times New Roman"&gt;xdXDocument:GetDOM(&amp;quot;Systems by SysPrin&amp;quot;)/Root/Row[SysPrin = substring(&amp;quot;8XXXXXXXXXXXXX&amp;quot;, 1, 8)]/State&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;Is it perhaps that your XML data source is not set to &amp;quot;query when the form is opened&amp;quot;?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/46046.aspx</link><pubDate>Wed, 19 Aug 2009 20:07:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46046</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46046.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46046</wfw:commentRss><description>&lt;p&gt;If im looking for the sibling of a note, wouldnt the syntax look more like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Systems By SysPrin&amp;quot;)/Root/Row[SysPrin = substring(xdXDocument:get-DOM()/my:CoachingOp/my:SetArea/my:account, 1, 8)]&lt;strong&gt;&lt;strong&gt;&lt;span style="COLOR:red;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;/following-sibling::Systems//Root/Row&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/strong&gt;/State&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45978.aspx</link><pubDate>Tue, 18 Aug 2009 19:45:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45978</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45978.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45978</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Calibri"&gt;The Error im getting now is:&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Function &amp;#39;GetDOM&amp;#39; did not return a value, or it returned a value that cannot be converted to an XSL data type.&lt;/font&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I get this error if I delete everything exept &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="COLOR:red;"&gt;GetDOM(&amp;quot;Systems By SysPrin&amp;quot;) &lt;/span&gt;&lt;/b&gt;from the function box as well. &lt;/font&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;This leads me to believe there is something wrong with my XML source document. It may be in how I made it. What I did was create a 3 column table in Excel &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;with SysPrin, State,and KMA as the titles for each Colum, then converted it to XML&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45903.aspx</link><pubDate>Sat, 15 Aug 2009 01:55:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45903</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45903.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45903</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you.&amp;nbsp; Yes, it looks like my:CoachingOp/my:SetArea/my:account is probably the right path.&amp;nbsp; Did you try putting it all together with get-DOM() and everything?&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Systems By SysPrin&amp;quot;)/Row[SysPrin = substring(xdXDocument-get-DOM()/my:CoachingOp/my:SetArea/my:account, 1, 8)]/State &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;b&gt;my:&lt;/b&gt; might not be the correct namespace if you&amp;#39;re basing the form off of a pre-made schema. &amp;nbsp; If the above doesn&amp;#39;t work, you can right-click &lt;b&gt;account&lt;/b&gt; in the taskpane and pick &lt;b&gt;Copy XPath&lt;/b&gt; to find the XPath that InfoPath is expecting.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45884.aspx</link><pubDate>Fri, 14 Aug 2009 17:19:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45884</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45884.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45884</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://smg.photobucket.com/albums/v203/kingspeget/?action=view&amp;amp;current=Capture-1.jpg" target="_blank"&gt;&lt;img alt="task pane 2" src="http://img.photobucket.com/albums/v203/kingspeget/Capture-1.jpg" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But that would have made sense? why would i have done that?&lt;/p&gt;
&lt;p&gt;Sorry, skipped the morning coffie earlier&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45878.aspx</link><pubDate>Fri, 14 Aug 2009 16:01:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45878</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45878</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That&amp;#39;s not your main data source.&amp;nbsp; Could you change the dropdown there to show me the data source that includes my:account?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45863.aspx</link><pubDate>Fri, 14 Aug 2009 14:07:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45863</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45863.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45863</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;a href="http://smg.photobucket.com/albums/v203/kingspeget/?action=view&amp;amp;current=Capture.jpg" target="_blank"&gt;&lt;img alt="task pane" src="http://img.photobucket.com/albums/v203/kingspeget/Capture.jpg" border="0" /&gt;&lt;/a&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;im pretty sure you are right about that&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45836.aspx</link><pubDate>Thu, 13 Aug 2009 23:58:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45836</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45836</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It seems you have edited your post, but in a previous version of your post I saw that you had the path in quotation marks (i.e. &lt;u&gt;&lt;b&gt;&amp;quot;&lt;/b&gt;&lt;/u&gt;&lt;span style="font-size:10pt;"&gt;/my:CoachingOp/my:SetArea/my:account&lt;b&gt;&lt;u&gt;&amp;quot;&lt;/u&gt;&lt;/b&gt;).&amp;nbsp; It should not be in quotation marks.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m 95% sure it&amp;#39;s a problem with your path to the my:account field.&amp;nbsp; Could you post a screenshot of your main data source layout (from the taskpane)? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45825.aspx</link><pubDate>Thu, 13 Aug 2009 19:15:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45825</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45825</wfw:commentRss><description>&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;xdXDocument:GetDOM(&amp;quot;Systems by SysPrin&amp;quot;)/Root/Row[SysPrin = substring(&amp;quot;8XXXXXXXXXXXXX&amp;quot;, 1, 8)]/State&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;This line of code works. however, i cannot get it to take the data from the account field. &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;Path i used to point the the account text box:&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;/my:CoachingOp/my:SetArea/my:account&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;"&gt;Is there a certian type of data it has to be (double, string, interger)? &lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45815.aspx</link><pubDate>Thu, 13 Aug 2009 16:03:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45815</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45815.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45815</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;My mistake.&amp;nbsp; That should be a colon before get-DOM(), not a hyphen:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;xdXDocument:get-DOM()&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;But I&amp;#39;m dubious about the rest of that path.&amp;nbsp; You need the to use the full path to the my:account node, e.g. &lt;b&gt;my:myFields/yaddah yaddah/my:account&lt;/b&gt;, paying close attention to capitalization.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Displaying a State(as in the United States) Based on the beginning of an Account number</title><link>https://www.infopathdev.com:443/forums/thread/45814.aspx</link><pubDate>Thu, 13 Aug 2009 15:53:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45814</guid><dc:creator>kingspeget</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45814.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45814</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I want to start off by thanking you for your assistance Jimmy. However, the code is generating an error.&lt;/font&gt;&lt;/font&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp; 
&lt;p&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="COLOR:#c0504d;mso-themecolor:accent2;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Your Code Suggestion&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;xdXDocument:GetDOM(&amp;quot;&lt;b&gt;&lt;i&gt;&lt;u&gt;Secondary data source name&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&amp;quot;)/Row[SysPrin = substring(xdXDocument-get-DOM()/&lt;b&gt;&lt;i&gt;&lt;u&gt;path to account name in main data source&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;, 1, 5)]/State&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="COLOR:#c0504d;mso-themecolor:accent2;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Code Suggestion w/ data inserted&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;xdXDocument:GetDOM(&amp;quot;&lt;b&gt;&lt;i&gt;&lt;u&gt;Systems by SysPrin&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&amp;quot;)/Row[SysPrin = substring(xdXDocument-get-DOM()/&lt;b&gt;&lt;i&gt;&lt;u&gt;my:account&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;, 1, 5)]/State&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&amp;nbsp; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="COLOR:#c0504d;mso-themecolor:accent2;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Error Generated&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&amp;#39;xdXDocument-get-DOM&amp;#39; is not a valid XSLT or XPath function.&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;xdXDocument:GetDOM(&amp;quot;Systems by SysPrin&amp;quot;)/Row[SysPrin = substring(&lt;span style="COLOR:red;"&gt;--&amp;gt;xdXDocument-get-DOM()&amp;lt;--&lt;/span&gt;/my:account, 1, 5)]/State&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>