<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Date Format</title><link>https://www.infopathdev.com:443/forums/thread/47228.aspx</link><pubDate>Tue, 22 Sep 2009 00:14:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47228</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47228.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47228</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;LowRyda:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I am new to this site is there a rating system where mark you as helpful or give you some recognition for your services.&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Not that I know of, but your thanks in this thread are recognition enough. :-) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Date Format</title><link>https://www.infopathdev.com:443/forums/thread/47227.aspx</link><pubDate>Mon, 21 Sep 2009 23:45:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47227</guid><dc:creator>LowRyda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47227.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47227</wfw:commentRss><description>&lt;p&gt;Hi Again, can you have a look at the attached file and let me know what I am doing wrong I have tried to perform the same process on this file but the date formats are not changing. I apologise I am not a programmer so I may have made an obvious mistake.&lt;/p&gt;
&lt;p&gt;Date fields in this file are &amp;quot;Expiry&amp;quot; and &amp;quot;Date&amp;quot; &lt;/p&gt;
&lt;p&gt;Never mind I fixed it :)&lt;/p&gt;</description></item><item><title>Re: Date Format</title><link>https://www.infopathdev.com:443/forums/thread/47224.aspx</link><pubDate>Mon, 21 Sep 2009 22:42:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47224</guid><dc:creator>LowRyda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47224.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47224</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Jimmy you are my hero!!&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Works a treat. Thankyou so much!! &lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I am new to this site is there a rating system where mark you as helpful or give you some recognition for your services.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Date Format</title><link>https://www.infopathdev.com:443/forums/thread/47194.aspx</link><pubDate>Mon, 21 Sep 2009 07:55:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47194</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47194.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47194</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks.&amp;nbsp; The attached file should give you an idea of how to do it.&lt;/p&gt;&lt;p&gt;What I did:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Add the msxsl namespace declaration to the &amp;lt;xsl:stylesheet&amp;gt; node at the top of the file.&lt;/li&gt;&lt;li&gt;Add a new template called &amp;quot;formatDate&amp;quot; near the end of the file:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:template name=&amp;quot;formatDate&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name=&amp;quot;date&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name=&amp;quot;months&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;January&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;February&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;March&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;April&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;May&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;June&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;July&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;August&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;September&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;October&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;November&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Month&amp;gt;December&amp;lt;/Month&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select=&amp;quot;concat(substring($date, 9, 2), &amp;#39;-&amp;#39;, msxsl:node-set($months)/Month[position() = substring($date, 6, 2)], &amp;#39;-&amp;#39;, substring($date, 1, 4))&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/li&gt;&lt;li&gt;Replace &amp;lt;xsl:value-of select=&amp;#39;.&amp;#39; /&amp;gt; with&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:call-template name=&amp;quot;formatDate&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:with-param name=&amp;quot;date&amp;quot; select=&amp;quot;.&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;&lt;br /&gt;in the places where my:Date and my:Birth are placed into the word formatting.&lt;/li&gt;&lt;/ul&gt;Hopefully that will do the trick for you.&lt;br /&gt;</description></item><item><title>Re: Date Format</title><link>https://www.infopathdev.com:443/forums/thread/47193.aspx</link><pubDate>Mon, 21 Sep 2009 05:03:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47193</guid><dc:creator>LowRyda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47193.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47193</wfw:commentRss><description>&lt;p&gt;&amp;lt;xsl:apply-templates select=&amp;quot;ns1:Birth&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;xsl:apply-templates&lt;/font&gt;&lt;/span&gt; &lt;span class="t"&gt;&lt;font color="#990000"&gt;select&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;b&gt;ns1:Date&lt;/b&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;are the fields I am looking to have formatted&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Date Format</title><link>https://www.infopathdev.com:443/forums/thread/47192.aspx</link><pubDate>Mon, 21 Sep 2009 05:00:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47192</guid><dc:creator>LowRyda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47192</wfw:commentRss><description>&lt;p&gt;I have attached very basic duplicate of my xslt due to privacy I cannot send the original. Thank you&lt;/p&gt;</description></item><item><title>Re: Date Format</title><link>https://www.infopathdev.com:443/forums/thread/47191.aspx</link><pubDate>Mon, 21 Sep 2009 03:45:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47191</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47191</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;There is most likely a way to do this.&amp;nbsp; Would you mind sharing your XSLT with us so it would be a bit easier to help?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Date Format</title><link>https://www.infopathdev.com:443/forums/thread/47190.aspx</link><pubDate>Mon, 21 Sep 2009 01:31:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47190</guid><dc:creator>LowRyda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47190</wfw:commentRss><description>&lt;p&gt;Hi i have successfully used the XSLT method to create a form that when submitted sends field data to a word doc with a predefined template. I have the majority of data coming across as desired however I need to iron out a few issues.&lt;/p&gt;
&lt;p&gt;I have 2 date fields in the form that when submitted to ms word read YYYY-MM-DD. I need the format to be DD-MMMM-YYYY ie 20-September-2009. Does any one know how to achieve this. When I look at one of the dates in the xsl file it reads as follows:&lt;/p&gt;
&lt;p&gt;&amp;lt;xsl:apply-templates select=&amp;quot;ns2:Date&amp;quot; /&amp;gt; &lt;/p&gt;
&lt;p&gt;Is there&amp;nbsp;anyway of achieving what I desire here?&lt;/p&gt;
&lt;p&gt;Cheers&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>