<?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: Absolute path of context node</title><link>https://www.infopathdev.com:443/forums/thread/14028.aspx</link><pubDate>Tue, 22 Nov 2005 17:48:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14028</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14028.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14028</wfw:commentRss><description>Great.  Glad it is working...&lt;br /&gt;&lt;br /&gt;Franck</description></item><item><title>Re: Absolute path of context node</title><link>https://www.infopathdev.com:443/forums/thread/14027.aspx</link><pubDate>Tue, 22 Nov 2005 10:45:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14027</guid><dc:creator>e_rajasekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14027.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14027</wfw:commentRss><description>Finaly I got answer from google...&lt;br /&gt;&lt;br /&gt;attrNode.selectSingleNode("..") returns element node..&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;E. Rajasekar</description></item><item><title>Re: Absolute path of context node</title><link>https://www.infopathdev.com:443/forums/thread/14026.aspx</link><pubDate>Tue, 22 Nov 2005 07:58:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14026</guid><dc:creator>e_rajasekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14026.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14026</wfw:commentRss><description>Thanks a lot!.&lt;br /&gt;&lt;br /&gt;It works fine if context node is an element. But not if it is attribute. oNode.parentNode returns null for attribute..&lt;br /&gt;&lt;br /&gt;Can you just tell me how do I get element owner of an attribute..?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;E. Rajasekar.</description></item><item><title>Re: Absolute path of context node</title><link>https://www.infopathdev.com:443/forums/thread/14025.aspx</link><pubDate>Tue, 22 Nov 2005 07:10:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14025</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14025</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Use something around:&lt;br /&gt;bool b = true;&lt;br /&gt;string sTemp = oNode.nodeName;&lt;br /&gt;while (b)&lt;br /&gt;{&lt;br /&gt;  oNode = oNode.parentNode;&lt;br /&gt;  if (oNode != null) &lt;br /&gt;{sTemp = oNode.nodeName + "/" + sTemp;}&lt;br /&gt;				else&lt;br /&gt;				{b=false;}&lt;br /&gt;			}&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché&lt;br /&gt;InfoPathDev</description></item><item><title>Absolute path of context node</title><link>https://www.infopathdev.com:443/forums/thread/12688.aspx</link><pubDate>Tue, 22 Nov 2005 06:37:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12688</guid><dc:creator>e_rajasekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12688.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12688</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;While handling OnContextChange() event, i want to get absolute path of context node (context node could be element or an attribute). or  atleast owner element for selected attribute..&lt;br /&gt;&lt;br /&gt;Can any one post some script/code for implementing this..?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;E. Rajasekar.</description></item></channel></rss>