<?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: this.MainDataSource.CreateNavigator() in IP 2003?</title><link>https://www.infopathdev.com:443/forums/thread/15069.aspx</link><pubDate>Wed, 07 Feb 2007 00:15:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15069</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15069</wfw:commentRss><description>In IP03 you would use:&lt;br /&gt;&lt;br /&gt;IXMLDOMNode xn = thisXDocument.DOM.selectSingleNode(XPath);</description></item><item><title>this.MainDataSource.CreateNavigator() in IP 2003?</title><link>https://www.infopathdev.com:443/forums/thread/13048.aspx</link><pubDate>Tue, 06 Feb 2007 19:25:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13048</guid><dc:creator>jackinthegreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13048</wfw:commentRss><description>Here's where I'm stuck. The IP 2007 c# table sort example from infopath team blog uses the &lt;br /&gt;&lt;br /&gt;XPathNavigator xn = this.MainDataSource.CreateNavigator();&lt;br /&gt;&lt;br /&gt;to get the xpath navigator object. To my knowledge the MainDataSource object is not available in the IP 2003 managed code solution. I'm guessing there's a workable conversion from the form's main or secondary datasource xml to an xpath compatable format so that the navigator can be created, but I'm not sure what that conversion is. I'm pretty sure it involves an appropriate namespace manager object and &lt;br /&gt;&lt;br /&gt;thisXDocument.DataObjects["tblProductionDefects"].DOM (?) &lt;br /&gt;&lt;br /&gt;but I can't seem to get it working.&lt;br /&gt;&lt;br /&gt;Thanks for any tips!!&lt;br /&gt;</description></item></channel></rss>