<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Any function to remove characters from fields?</title><link>https://www.infopathdev.com:443/forums/thread/37453.aspx</link><pubDate>Wed, 21 Jan 2009 13:12:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37453</guid><dc:creator>pablavo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37453</wfw:commentRss><description>&lt;p&gt;Further to my last post, the Translate function does work, it&amp;#39;s just my limited knowledge of Xpath Syntax.&amp;nbsp; Anyway, for those of you who do want to know:&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;translate(@Name[@JobCodeID = @JobCode], &amp;quot;&amp;amp;/\*?&amp;lt;&amp;gt;:&amp;quot;, &amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;That&amp;#39;s all my illegal characters at the end.&lt;/p&gt;
&lt;p&gt;translate(Field, &amp;quot;Characters&amp;quot;, &amp;quot;Character(s) to replace or leave blank to remove) &lt;br /&gt;Make sure all parts are seperated by a comma&lt;/p&gt;</description></item><item><title>Any function to remove characters from fields?</title><link>https://www.infopathdev.com:443/forums/thread/37452.aspx</link><pubDate>Wed, 21 Jan 2009 12:34:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37452</guid><dc:creator>pablavo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37452</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I was wondering if anyone new of anyway to remove characters from field names, perhaps using Xpath? When I use submit to sharepoint to save my form to a library I&amp;#39;m using fields that can contain ampersands and brackets.&amp;nbsp; Of course, these forms wont save with illegal characters.&amp;nbsp; The field that infopath is using to save is a text box that takes the name of another field. &lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to take the name of the other field but find a way to remove these particular characters. I looked at the &amp;quot;translate funcion&amp;quot; but that appears only to change upper and lower case.&lt;/p&gt;
&lt;p&gt;Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;</description></item></channel></rss>