<?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: How to retrive XmltoEdit</title><link>https://www.infopathdev.com:443/forums/thread/14641.aspx</link><pubDate>Mon, 12 Jun 2006 13:08:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14641</guid><dc:creator>gregv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14641.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14641</wfw:commentRss><description>Hi.&lt;br /&gt;Ok thank you for your answer.</description></item><item><title>Re: How to retrive XmltoEdit</title><link>https://www.infopathdev.com:443/forums/thread/14640.aspx</link><pubDate>Fri, 09 Jun 2006 07:43:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14640</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14640</wfw:commentRss><description>Hi&lt;br /&gt;&lt;br /&gt;The code to get the name of the node programmatically in C#, try this:&lt;br /&gt;&lt;br /&gt;IXMLDOMNode node = thisXDocument.DOM.selectSingleNode("XPath");&lt;br /&gt;string nodeName = node.nodeName;&lt;br /&gt;</description></item><item><title>How to retrive XmltoEdit</title><link>https://www.infopathdev.com:443/forums/thread/12891.aspx</link><pubDate>Tue, 06 Jun 2006 11:57:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12891</guid><dc:creator>gregv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12891.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12891</wfw:commentRss><description>Hello&lt;br /&gt;I've got a function in my custom task pane for clear every item in a view and create a new one :&lt;br /&gt;&lt;br /&gt;function NewElement() {&lt;br /&gt;XDocument.View.ExecuteAction("xCollection::removeAll", "co_dossiers_59");&lt;br /&gt;XDocument.View.ExecuteAction("xCollection::insert", "co_dossiers_59");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;This function works very well but my problem is the var XmltoEdit (here 'co_dossiers_59'). I'm not the only person to develop forms but other people aren't good in javascript or vb so I decided to provide a 'generic' custom task pane they can use in each form they make.&lt;br /&gt;My question is how can I get programatically the name of the node ('co_dossiers_59') wich is the name of the node corresponding to my first table in the main connection (/dfs:myFields/dfs:dataFields/d:co_dossiers).&lt;br /&gt;Those forms are binded to a sql server database.&lt;br /&gt;Thaks in advance.</description></item></channel></rss>