<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: xd:preserve how it work?</title><link>https://www.infopathdev.com:443/forums/thread/7103.aspx</link><pubDate>Mon, 11 Jul 2005 07:09:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7103</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7103</wfw:commentRss><description>Thanks a lot for your explanation I understand now why that don't work!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: xd:preserve how it work?</title><link>https://www.infopathdev.com:443/forums/thread/7102.aspx</link><pubDate>Fri, 08 Jul 2005 19:45:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7102</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7102</wfw:commentRss><description>The Preserve Code Block can only be applied to an xsl:template / xsl:apply-templates pair.&lt;br /&gt;&lt;br /&gt;Place your drop-down list box inside of a section, then go back to the XSL and you will be able to create a Preserve Code Block from the section you placed your drop-down list box in.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Re: xd:preserve how it work?</title><link>https://www.infopathdev.com:443/forums/thread/7101.aspx</link><pubDate>Thu, 07 Jul 2005 07:52:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7101</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7101.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7101</wfw:commentRss><description>I need of this for keep the line of the conditionnal formating! Because if I close and reopen my form the conditionnal formatting as disappear because this field is two times on my form!&lt;br /&gt;&lt;br /&gt;&amp;lt;xsl:attribute name="style"&amp;gt;&amp;lt;xsl:choose&amp;gt;&amp;lt;xsl:when test="my:VR-AndereFunk = string(false())"&amp;gt;DISPLAY: none&amp;lt;/xsl:when&amp;gt;&amp;lt;/xsl:choose&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;&lt;br /&gt;Thanks in advance&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>xd:preserve how it work?</title><link>https://www.infopathdev.com:443/forums/thread/4758.aspx</link><pubDate>Thu, 07 Jul 2005 07:47:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4758</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4758.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4758</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have carefully read your how-to about xd:preserve but I don't know how to apply this to my dropdownlistebox!&lt;br /&gt;&lt;br /&gt;Part of my view.xsl:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;select class="xdComboBox xdBehavior_Select" title="" size="1" value="Präsident des Verwaltungsrates" xd:boundProp="value" xd:binding="my:Funktion" xd:xctname="DropDown" xd:CtrlId="CTRL971" tabIndex="0"&amp;gt;&lt;br /&gt;	&amp;lt;xsl:attribute name="style"&amp;gt;&amp;lt;xsl:choose&amp;gt;&amp;lt;xsl:when test="my:VR-AndereFunk = string(false())"&amp;gt;DISPLAY: none&amp;lt;/xsl:when&amp;gt;&amp;lt;/xsl:choose&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;	&amp;lt;xsl:attribute name="value"&amp;gt;&amp;lt;xsl:value-of select="my:Funktion"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;	&amp;lt;xsl:choose&amp;gt;&lt;br /&gt;		&amp;lt;xsl:when test="function-available('xdXDocument:GetDOM')"&amp;gt;&lt;br /&gt;			&amp;lt;option/&amp;gt;&lt;br /&gt;			&amp;lt;xsl:variable name="val" select="my:Funktion"/&amp;gt;&lt;br /&gt;			&amp;lt;xsl:if test="not(xdXDocument:GetDOM(&amp;quot;getfonktion&amp;quot;)/TabEigZb/EigZb[text=$val] or $val='')"&amp;gt;&lt;br /&gt;				&amp;lt;option selected="selected"&amp;gt;&lt;br /&gt;					&amp;lt;xsl:attribute name="value"&amp;gt;&amp;lt;xsl:value-of select="$val"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;					&amp;lt;xsl:value-of select="$val"/&amp;gt;&lt;br /&gt;				&amp;lt;/option&amp;gt;&lt;br /&gt;			&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;			&amp;lt;xsl:for-each select="xdXDocument:GetDOM(&amp;quot;getfonktion&amp;quot;)/TabEigZb/EigZb"&amp;gt;&lt;br /&gt;				&amp;lt;option&amp;gt;&lt;br /&gt;					&amp;lt;xsl:attribute name="value"&amp;gt;&amp;lt;xsl:value-of select="text"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;					&amp;lt;xsl:if test="$val=text"&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;					&amp;lt;xsl:value-of select="kurz"/&amp;gt;&lt;br /&gt;				&amp;lt;/option&amp;gt;&lt;br /&gt;			&amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;		&amp;lt;/xsl:when&amp;gt;&lt;br /&gt;		&amp;lt;xsl:otherwise&amp;gt;&lt;br /&gt;			&amp;lt;option&amp;gt;&lt;br /&gt;				&amp;lt;xsl:value-of select="my:Funktion"/&amp;gt;&lt;br /&gt;			&amp;lt;/option&amp;gt;&lt;br /&gt;		&amp;lt;/xsl:otherwise&amp;gt;&lt;br /&gt;	&amp;lt;/xsl:choose&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Where I can declare my preserve code block ? I don't have any template, apply template or input?&lt;br /&gt;&lt;br /&gt;Thanks for your help&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item></channel></rss>