<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Show XML Path</title><link>https://www.infopathdev.com:443/forums/thread/20934.aspx</link><pubDate>Tue, 19 Jun 2007 12:10:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20934</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20934</wfw:commentRss><description>&lt;p&gt;Ok thanks for your answer that confirm what I think.&lt;/p&gt;&lt;p&gt;&amp;nbsp;So code is the only way...&lt;/p&gt;&lt;p&gt;&amp;nbsp;++&lt;/p&gt;&lt;p&gt;Thierry&lt;/p&gt;&lt;p&gt;&amp;nbsp;P.S. I have see your mail I will see what is the best and send you a answer to your e-mail address soon.&lt;/p&gt;</description></item><item><title>Re: Show XML Path</title><link>https://www.infopathdev.com:443/forums/thread/20926.aspx</link><pubDate>Tue, 19 Jun 2007 09:04:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20926</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20926.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20926</wfw:commentRss><description>&lt;p&gt;Hi Thierry,&lt;/p&gt;&lt;p&gt;I don&amp;#39;t think this will be possible with just an XPath.&amp;nbsp; The path is not stored anywhere in the XML.&amp;nbsp; The best I can do for you is give the filepath where the form template is saved.&amp;nbsp; That&amp;#39;s in the PIs, so you can access it with XPath.&amp;nbsp; Try adding an expression box to a template with this XPath:&lt;/p&gt;&lt;p&gt;substring-before(substring-after(/processing-instruction()[local-name(.) = &amp;quot;mso-infoPathSolution&amp;quot;], &amp;#39;href=&amp;quot;&amp;#39;), &amp;#39;&amp;quot;&amp;#39;)&lt;/p&gt;&lt;p&gt;You can expand to reference anything in the PIs, so you can extract all the information from there, but I don&amp;#39;t think the location of the XML file will be there!&lt;/p&gt;&lt;p&gt;PS - Yes, I have replied just last night - check your Inbox in the top right corner of the page.&amp;nbsp; We should continue in regular e-mail to make the notification much easier to see!&lt;/p&gt;</description></item><item><title>Re: Show XML Path</title><link>https://www.infopathdev.com:443/forums/thread/20922.aspx</link><pubDate>Tue, 19 Jun 2007 08:40:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20922</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20922.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20922</wfw:commentRss><description>&lt;p&gt;Hi Matt,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for your reply!&lt;/p&gt;&lt;p&gt;&amp;nbsp;What I want to show is where the XML is locate on the disk for example that can be:&lt;/p&gt;&lt;p&gt;&amp;nbsp;c:\Forms\Data\XML\myform.xml&lt;/p&gt;&lt;p&gt;&amp;nbsp;Is there a way to make an XPath Expression for show this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;I know how to do with code but without is there a way?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;P.S. Have you receive my mail? Is it possible to meet us?&lt;/p&gt;</description></item><item><title>Re: Show XML Path</title><link>https://www.infopathdev.com:443/forums/thread/20920.aspx</link><pubDate>Tue, 19 Jun 2007 08:29:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20920</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20920</wfw:commentRss><description>&lt;p&gt;Hi Thierry,&lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure I understand this question.&amp;nbsp; If you click on the function button of an expression box you should be able use the Data Source tree control to pick the field that you want to show in the expression box.&lt;/p&gt;&lt;p&gt;This is pretty simply, am I missing something?&lt;/p&gt;</description></item><item><title>Show XML Path</title><link>https://www.infopathdev.com:443/forums/thread/20917.aspx</link><pubDate>Tue, 19 Jun 2007 07:41:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20917</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20917.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20917</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Lots of people ask me if it&amp;#39;s possible to put the path of the xml (loaded in Infopath)&amp;nbsp;in the an expression box without using code?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Did you know a way?&lt;/p&gt;&lt;p&gt;Thanks &lt;/p&gt;&lt;p&gt;Thierry&lt;/p&gt;</description></item></channel></rss>