<?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: Get fields of a repeated segment</title><link>https://www.infopathdev.com:443/forums/thread/13770.aspx</link><pubDate>Wed, 12 Oct 2005 23:28:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13770</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13770.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13770</wfw:commentRss><description>Glad to help!&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Re: Get fields of a repeated segment</title><link>https://www.infopathdev.com:443/forums/thread/13769.aspx</link><pubDate>Wed, 12 Oct 2005 06:04:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13769</guid><dc:creator>Osiris86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13769</wfw:commentRss><description>Hey perfect, that works, thank you very much</description></item><item><title>Re: Get fields of a repeated segment</title><link>https://www.infopathdev.com:443/forums/thread/13768.aspx</link><pubDate>Tue, 11 Oct 2005 16:49:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13768</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13768.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13768</wfw:commentRss><description>Try&lt;br /&gt;IXMLDOMNodeList elemList = thisXDocument.DOM.selectNodes("//my:field1");&lt;br /&gt;foreach(IXMLDOMNode elem in elemList)&lt;br /&gt;{&lt;br /&gt;    string s = elem.text&lt;br /&gt;    // do something with elem content.&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Get fields of a repeated segment</title><link>https://www.infopathdev.com:443/forums/thread/12615.aspx</link><pubDate>Tue, 11 Oct 2005 09:17:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12615</guid><dc:creator>Osiris86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12615.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12615</wfw:commentRss><description>Hello Guys,&lt;br /&gt;&lt;br /&gt;the problem is: I've a repeated segment and need the fields which are in it. And on every field that is there something should happen. I've found out how i can count the number of the fields but i need the contents.&lt;br /&gt;&lt;br /&gt;Present code:&lt;br /&gt;&lt;br /&gt;int elemList = thisXDocument.DOM.selectNodes("//my:feld1").length;&lt;br /&gt;for ( int i=1 ; i&amp;lt;=elemList ; i++ )&lt;br /&gt;   {&lt;br /&gt;      // Something should happen&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;i need the content of the "my:feld1" in the for-Loop...&lt;br /&gt;&lt;br /&gt;Hope you can help me.&lt;br /&gt;&lt;br /&gt;Greez Osiris</description></item></channel></rss>