<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Drop-Down list in view1.xsl</title><link>https://www.infopathdev.com:443/forums/thread/2000.aspx</link><pubDate>Wed, 08 Mar 2006 16:23:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2000</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2000</wfw:commentRss><description>Hi, &lt;br /&gt;Other option is simple and advisable than xd:preserve,&lt;br /&gt;copy all the values that you want to show in the dropdown to repeating nodes(2DS) and bind the dropdown to show those values.</description></item><item><title>Re: Drop-Down list in view1.xsl</title><link>https://www.infopathdev.com:443/forums/thread/1999.aspx</link><pubDate>Wed, 08 Mar 2006 12:29:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1999</guid><dc:creator>muerner</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1999.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1999</wfw:commentRss><description>hi, thanks for your answer. i copied this example code to my xsl file. It works fine in the preview mode, but when i make change in the design mode. The code that i've copy pasted was overwrited again. &lt;br /&gt;What i do wrong, did you have another workaround for this? &lt;br /&gt;thx for your answer!&lt;br /&gt;Patrick</description></item><item><title>Re: Drop-Down list in view1.xsl</title><link>https://www.infopathdev.com:443/forums/thread/1998.aspx</link><pubDate>Tue, 07 Mar 2006 18:56:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1998</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1998</wfw:commentRss><description>Hi Patrick, &lt;br /&gt;Welcome to the board!&lt;br /&gt;InfoPath by default removes foreign code from the XSL when ever the view is changed. If you dont want this to be done you need to use xd:preserve code block. &lt;br /&gt;Tknow more about "xd:preserve" look at &lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tips/default.aspx?i=ae7e79f32dcf4aa4a5f511883ebd8149&gt;http://www.infopathdev.com/howto/tips/default.aspx?i=ae7e79f32dcf4aa4a5f511883ebd8149&lt;/a&gt;</description></item><item><title>Drop-Down list in view1.xsl</title><link>https://www.infopathdev.com:443/forums/thread/1187.aspx</link><pubDate>Tue, 07 Mar 2006 14:01:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1187</guid><dc:creator>muerner</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1187</wfw:commentRss><description>hi&lt;br /&gt;&lt;br /&gt;I want to create a drop-down box with the content of more then one Field. To do this i have edited (blue text) following code in my view1.xsl file.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;xsl:attribute name="value"&amp;gt;&lt;br /&gt;    &amp;lt;xsl:value-of select="my:Schl_risk/my:field42"/&amp;gt;&lt;br /&gt;    &amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;	&amp;lt;option&amp;gt;&lt;br /&gt;	   &amp;lt;xsl:if test="my:Schl_risk/my:field42=&amp;quot;test33&amp;quot;"&amp;gt;&lt;br /&gt;	   &amp;lt;xsl:attribute name="selected"&amp;gt;selected&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;	   &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;           &lt;font color="blue"&gt;&amp;lt;xsl:value-of select="my:Schl_risk/my:Kredi_risk1"/&amp;gt;&lt;/font id="blue"&gt;	&lt;br /&gt;        &amp;lt;/option&amp;gt;&lt;br /&gt; &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;every time i make a change in the InfoPath Designer the manually entered line is removed. &lt;br /&gt;&lt;br /&gt;What can i do to work around this failure?&lt;br /&gt;&lt;br /&gt;thx &lt;br /&gt;Patrick</description></item></channel></rss>