<?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: Problem select a node in my:</title><link>https://www.infopathdev.com:443/forums/thread/14612.aspx</link><pubDate>Thu, 01 Jun 2006 16:31:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14612</guid><dc:creator>gregv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14612.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14612</wfw:commentRss><description>I first created my document with using sql server so I think it is dfs:&lt;br /&gt;</description></item><item><title>Re: Problem select a node in my:</title><link>https://www.infopathdev.com:443/forums/thread/14611.aspx</link><pubDate>Thu, 01 Jun 2006 16:18:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14611</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14611.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14611</wfw:commentRss><description>Is the root node namespace in your XPath supposed to be "my:" or "dfs:"?</description></item><item><title>Problem select a node in my:</title><link>https://www.infopathdev.com:443/forums/thread/12883.aspx</link><pubDate>Thu, 01 Jun 2006 15:49:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12883</guid><dc:creator>gregv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12883.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12883</wfw:commentRss><description>Another problem for today :(&lt;br /&gt;My Infopath file is bind to a SQL Server database for sending and reading data. From my 'Custom Task Pane' i can select nodes perfectly using for example :&lt;br /&gt;node = XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:queryFields/q:sc_devis/@de_cmde_ref");&lt;br /&gt;But i added to this document some fields wich are not binded to the database (myFileds -&amp;gt; right click -&amp;gt; add) and I try to fill them from the Custom Task Pane. But it doesn't work.&lt;br /&gt;&lt;br /&gt;The fields can be accessed with my:query/@my:cmde_ref&lt;br /&gt;I tried this in my TaskPane code :&lt;br /&gt;node = XDocument.DOM.selectSingleNode("/my:myFields/my:query/@my:cmde_ref");&lt;br /&gt;but without success, node is always null.&lt;br /&gt;&lt;br /&gt;I precise that in the load event of the taskpane i put this line to access the namespaces :&lt;br /&gt;XDocument.DOM.setProperty("SelectionNamespaces", 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:q="http://schemas.microsoft.com/office/infopath/2003/ado/queryFields" xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-05-24T12:32:04"');&lt;br /&gt;&lt;br /&gt;Someone has an idea ?</description></item></channel></rss>