<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/12406.aspx</link><pubDate>Mon, 09 Apr 2007 10:36:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12406</guid><dc:creator>B.Shiva Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12406.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12406</wfw:commentRss><description>Hi shayken,&lt;br /&gt;&lt;br /&gt;Try with the full XPath "/myFields/dataFields/tns:getCoordenacaoResponse/getCoordenacaoResult/NewDataSet/CS_COORDENACAO/nmCoordenacao" in the second example &lt;br /&gt;&lt;br /&gt;other wise put one more "/" before the XPath.&lt;br /&gt;&lt;br /&gt;Hope this will help you.&lt;br /&gt;</description></item><item><title>Re: Secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/12405.aspx</link><pubDate>Wed, 04 Apr 2007 13:01:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12405</guid><dc:creator>shayken</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12405</wfw:commentRss><description>Shekar,&lt;br /&gt;&lt;br /&gt;whith this, I get "null" &lt;br /&gt;XDocument.GetDOM("getCoordenacao").selectSingleNode("/tns:getCoordenacaoResponse/getCoordenacaoResult/NewDataSet/CS_COORDENACAO/nmCoordenacao")&lt;br /&gt;&lt;br /&gt;And with this, I get "objetc expected"&lt;br /&gt;XDocument.GetDOM("getCoordenacao").selectSingleNode("/tns:getCoordenacaoResponse/getCoordenacaoResult/NewDataSet/CS_COORDENACAO/nmCoordenacao").text&lt;br /&gt;&lt;br /&gt;Shiva,&lt;br /&gt;the (“xml file”) is my Secondary data source?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Obs: this Secondary data source is a webservice...</description></item><item><title>Re: Secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/12404.aspx</link><pubDate>Wed, 04 Apr 2007 09:33:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12404</guid><dc:creator>B.Shiva Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12404.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12404</wfw:commentRss><description>Hi shayken,&lt;br /&gt;&lt;br /&gt;Do like this, create a dom and load the secondary xml in that. From that you can get the data what ever you want.&lt;br /&gt;&lt;br /&gt;see the below code.&lt;br /&gt;&lt;br /&gt;IXMLDomDocument &amp;lt;docName&amp;gt; = thisXDocument.createDOM();&lt;br /&gt;&amp;lt;docName&amp;gt;.Load(“xml file”);&lt;br /&gt;&lt;br /&gt;by using &amp;lt;docName&amp;gt; you retrieve the node value what ever you want.&lt;br /&gt;&lt;br /&gt;Hope this will help you.</description></item><item><title>Re: Secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/12403.aspx</link><pubDate>Wed, 04 Apr 2007 06:40:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12403</guid><dc:creator>shekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12403.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12403</wfw:commentRss><description>Hi&lt;br /&gt;&lt;br /&gt;Can you tell me what error or reason for not accessing the field from the secondary data source.&lt;br /&gt;</description></item><item><title>Secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/12169.aspx</link><pubDate>Tue, 03 Apr 2007 14:20:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12169</guid><dc:creator>shayken</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12169</wfw:commentRss><description>How can I acess a fild of secondary data source with code?&lt;br /&gt;&lt;br /&gt;I am trying with:&lt;br /&gt;&lt;br /&gt;eventObj.Source.parentNode.selectSingleNode("../nmCoordenacao").text&lt;br /&gt;&lt;br /&gt;But I don´t have sucess...&lt;br /&gt;&lt;br /&gt;This is a picture of my secondary data source&lt;br /&gt;&lt;a href='http://quickload.hostingvision.com/images/2787InfoPath%20secondary%20data%20source.JPG' target='_blank' title='http://quickload.hostingvision.com/images/2787InfoPath%20secondary%20data%20source.JPG'&lt;a target="_blank" href=http://quickload.hostingvision.com/images/2787InfoPath%20secondary%20data%20source.JPG&gt;http://quickload.hostingvision.com/images/2787InfoPath%20secondary%20data%20source.JPG&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>