<?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: Programatically Get</title><link>https://www.infopathdev.com:443/forums/thread/15170.aspx</link><pubDate>Thu, 08 Mar 2007 21:34:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15170</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15170</wfw:commentRss><description>Glad to have helped. Thanks for the translation!</description></item><item><title>Re: Programatically Get</title><link>https://www.infopathdev.com:443/forums/thread/15169.aspx</link><pubDate>Thu, 08 Mar 2007 19:13:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15169</guid><dc:creator>Biovox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15169</wfw:commentRss><description>mainNavigator.SelectSingleNode("*/s2:FormData/s2:Header/s2:Id", this.NamespaceManager)&lt;br /&gt;&lt;br /&gt;Worked great - thanks.</description></item><item><title>Re: Programatically Get</title><link>https://www.infopathdev.com:443/forums/thread/15168.aspx</link><pubDate>Thu, 08 Mar 2007 17:40:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15168</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15168</wfw:commentRss><description>You'll need to translate this JScript to the IP07 OM:&lt;br /&gt;&lt;br /&gt;XDocument.DOM.selectSingleNode("*").nodeName&lt;br /&gt;</description></item><item><title>Programatically Get</title><link>https://www.infopathdev.com:443/forums/thread/13081.aspx</link><pubDate>Thu, 08 Mar 2007 14:51:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13081</guid><dc:creator>Biovox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13081.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13081</wfw:commentRss><description>I was wondering if anyone knew how to get the name of the main root node (GetThisNode) programatically.  Because of multiple forms and code reuse, I want to be able to build my Xpaths behind the scenes without having to worry about the user changing any critical information:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;docXN = docXN.SelectSingleNode&lt;b&gt;("/my:GetThisNode&lt;/b&gt;/s2:FormData/s2:Header/s2:Location/s2:District/s4:Id", this.NamespaceManager);&lt;br /&gt;&lt;br /&gt;&lt;img src='http://www.biovox.com/images/rootnode.jpg' border='0' /&gt;</description></item></channel></rss>