<?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: Able XPath to do this ?</title><link>https://www.infopathdev.com:443/forums/thread/10832.aspx</link><pubDate>Tue, 02 Jan 2007 17:34:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10832</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10832</wfw:commentRss><description>I'm not sure I understand your issue. Sounds like you are using a default value formula--if not try that.</description></item><item><title>Re: Able XPath to do this ?</title><link>https://www.infopathdev.com:443/forums/thread/10831.aspx</link><pubDate>Thu, 28 Dec 2006 21:42:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10831</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10831</wfw:commentRss><description>Hi Ekzarov,&lt;br /&gt;Have you looked at using filters to do this? Certainly you can use Xpath as part of your condition in your filter. Filters are a much discussed forum topic and Greg has written several HowTos on it as well. Please search the forum for related posts (top right) and the site for the HowTos (top left)</description></item><item><title>Able XPath to do this ?</title><link>https://www.infopathdev.com:443/forums/thread/5985.aspx</link><pubDate>Thu, 28 Dec 2006 10:26:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5985</guid><dc:creator>ekzarov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5985</wfw:commentRss><description>For example:&lt;br /&gt;I have secondary datasource "Numbers" name Numbers, wich contains two columns: Title and DocID.&lt;br /&gt;I want to my field named "Field1" had default value equals some data from "Numbers", belongs on wich DocID I will pass. For example (I write it in SQL):&lt;br /&gt;&lt;br /&gt;SELECT Title &lt;br /&gt;INTO FooVariable&lt;br /&gt;FROM Numbers&lt;br /&gt;WHERE DocID = :myValue&lt;br /&gt;&lt;br /&gt;Then: Field1.DefaultValue = FooVariable.&lt;br /&gt;Can I do this with XPath ??? If so, how?&lt;br /&gt;</description></item></channel></rss>