<?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: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/23184.aspx</link><pubDate>Wed, 19 Sep 2007 16:18:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23184</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23184.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23184</wfw:commentRss><description>&lt;p&gt;The problem is that the .text property ONLY gives text. That&amp;#39;s why they named it that.&lt;/p&gt;
&lt;p&gt;What you want is rich text, or XHTML. To display rich text, you need a rich text control.&lt;/p&gt;
&lt;p&gt;To copy XHTML from one field to another, you cannot simpy use .text or you will get all the tags, etc., as you have already seen.&lt;/p&gt;
&lt;p&gt;XHTML is a DOM. You must use code to copy the DOM nodes from one field to another -- accounting for namespace changes if appropriate.&lt;/p&gt;
&lt;p&gt;There is no built-in functionality for copying XHTML data from one field to another. You will have to write one yourself.&lt;/p&gt;</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/23171.aspx</link><pubDate>Wed, 19 Sep 2007 12:21:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23171</guid><dc:creator>shayrlz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23171.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23171</wfw:commentRss><description>&lt;p&gt;Thanks &lt;strong&gt;nukkumatti&lt;/strong&gt;, &lt;/p&gt;
&lt;p&gt;but I need to this with other mode, since the bulleted text (and all the formatted text) come from a webservice...&lt;/p&gt;</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/23113.aspx</link><pubDate>Tue, 18 Sep 2007 06:06:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23113</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23113</wfw:commentRss><description>Hi I know what you wanna do and it is really simple :) once you know the trick. Here a little walkthrough: Create a new blank infoapth form. drop a rich text box into it. publish it and fill out the form once, add a bulleted list into your richtext box and enter as text &amp;quot;test1&amp;quot;. save the filled out form to your desktop. now open the form again in design mode and extract your form file. open the previous filled out form with the nodepad and copy the bulleted list presentation e.g. li xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;test1 /li, navigate to the folder to which you extracted your form files. open the the template.xml with the notepad and add the copied line to your richtext box field, e.ge field1 li xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; test1/li /field1. now right click the manifest file and select design. resave the form. there you go. hope this helps. BTW don&amp;#39;t forget the &amp;lt;&amp;gt; for the tags, if I put them there I get a bullet list, weired uh :)</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/23105.aspx</link><pubDate>Mon, 17 Sep 2007 14:54:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23105</guid><dc:creator>shayrlz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23105.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23105</wfw:commentRss><description>&lt;p&gt;&lt;em&gt;I have this in XML:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;my:Orientacoes xmlns:my=&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-25T20:30:37%22%3E%3Ch3"&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-25T20:30:37&amp;quot;&amp;gt;&amp;lt;h3&lt;/a&gt; style=&amp;quot;PADDING-RIGHT: 0cm; MARGIN-TOP: 18pt; PADDING-LEFT: 0cm; FONT-WEIGHT: normal; MARGIN-BOTTOM: 12pt; LINE-HEIGHT: 150%&amp;quot; align=&amp;quot;justify&amp;quot; xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml%22%3E%3Cstrong%3E%3Cfont"&gt;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;font&lt;/a&gt; color=&amp;quot;#000000&amp;quot; size=&amp;quot;2&amp;quot;&amp;gt;Validade&amp;lt;/font&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/h3&amp;gt; &amp;lt;ul style=&amp;quot;MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px&amp;quot; type=&amp;quot;disc&amp;quot; xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt; &amp;lt;li style=&amp;quot;PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; MARGIN-BOTTOM: 0pt; TEXT-INDENT: -18pt; LINE-HEIGHT: 150%&amp;quot; align=&amp;quot;justify&amp;quot;&amp;gt;Negativa do Ministério da Fazenda e Procuradoria-Geral da Fazenda Nacional - Secretaria da Receita Federal – 180 dias;&amp;lt;/li&amp;gt; &amp;lt;li style=&amp;quot;PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; MARGIN-BOTTOM: 0pt; TEXT-INDENT: -18pt; LINE-HEIGHT: 150%&amp;quot; align=&amp;quot;justify&amp;quot;&amp;gt;Negativa da Secretaria da Fazenda Receita Estadual – 90 dias;&amp;lt;/li&amp;gt; &amp;lt;li style=&amp;quot;PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; MARGIN-BOTTOM: 0pt; TEXT-INDENT: -18pt; LINE-HEIGHT: 150%&amp;quot; align=&amp;quot;justify&amp;quot;&amp;gt;Negativa da Secretaria Municipal da Fazenda – 180 dias;&amp;lt;/li&amp;gt; &amp;lt;li style=&amp;quot;PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; MARGIN-BOTTOM: 0pt; TEXT-INDENT: -18pt; LINE-HEIGHT: 150%&amp;quot; align=&amp;quot;justify&amp;quot;&amp;gt;Negativa da Previdência Social – 180 dias;&amp;lt;/li&amp;gt; &amp;lt;li style=&amp;quot;PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; MARGIN-BOTTOM: 0pt; TEXT-INDENT: -18pt; LINE-HEIGHT: 150%&amp;quot; align=&amp;quot;justify&amp;quot;&amp;gt;Negativa do Certificado de Regularidade FGTS – CRF – 30 dias.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt; &amp;lt;h3 style=&amp;quot;PADDING-RIGHT: 0cm; MARGIN-TOP: 18pt; PADDING-LEFT: 0cm; FONT-WEIGHT: normal; MARGIN-BOTTOM: 12pt; LINE-HEIGHT: 150%&amp;quot; align=&amp;quot;justify&amp;quot; xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml%22%3E%3Cstrong%3E%3Cfont"&gt;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;font&lt;/a&gt; color=&amp;quot;#000000&amp;quot; size=&amp;quot;2&amp;quot;&amp;gt;Prazo&amp;lt;/font&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/h3&amp;gt; &amp;lt;div style=&amp;quot;PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; PADDING-LEFT: 0cm; MARGIN-BOTTOM: 0pt; LINE-HEIGHT: 150%&amp;quot; align=&amp;quot;justify&amp;quot; xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As Unidades Acadêmicas, Faculdades e Departamentos deverão solicitar com prazo de uma semana.&amp;lt;/div&amp;gt;&amp;lt;/my:Orientacoes&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;But I want to show this:&lt;/em&gt;&lt;/p&gt;
&lt;h3 style="PADDING-RIGHT:0cm;MARGIN-TOP:18pt;PADDING-LEFT:0cm;FONT-WEIGHT:normal;MARGIN-BOTTOM:12pt;LINE-HEIGHT:150%;" align="justify"&gt;&lt;strong&gt;&lt;font color="#000000" size="2"&gt;Validade&lt;/font&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;ul style="MARGIN-TOP:0px;MARGIN-BOTTOM:0px;"&gt;
&lt;li style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;MARGIN-BOTTOM:0pt;TEXT-INDENT:-18pt;LINE-HEIGHT:150%;" align="justify"&gt;Negativa do Ministério da Fazenda e Procuradoria-Geral da Fazenda Nacional - Secretaria da Receita Federal – 180 dias; 
&lt;li style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;MARGIN-BOTTOM:0pt;TEXT-INDENT:-18pt;LINE-HEIGHT:150%;" align="justify"&gt;Negativa da Secretaria da Fazenda Receita Estadual – 90 dias; 
&lt;li style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;MARGIN-BOTTOM:0pt;TEXT-INDENT:-18pt;LINE-HEIGHT:150%;" align="justify"&gt;Negativa da Secretaria Municipal da Fazenda – 180 dias; 
&lt;li style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;MARGIN-BOTTOM:0pt;TEXT-INDENT:-18pt;LINE-HEIGHT:150%;" align="justify"&gt;Negativa da Previdência Social – 180 dias; 
&lt;li style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;MARGIN-BOTTOM:0pt;TEXT-INDENT:-18pt;LINE-HEIGHT:150%;" align="justify"&gt;Negativa do Certificado de Regularidade FGTS – CRF – 30 dias.&lt;/li&gt;&lt;/ul&gt;
&lt;h3 style="PADDING-RIGHT:0cm;MARGIN-TOP:18pt;PADDING-LEFT:0cm;FONT-WEIGHT:normal;MARGIN-BOTTOM:12pt;LINE-HEIGHT:150%;" align="justify"&gt;&lt;strong&gt;&lt;font color="#000000" size="2"&gt;Prazo&lt;/font&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;div style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;PADDING-LEFT:0cm;MARGIN-BOTTOM:0pt;LINE-HEIGHT:150%;" align="justify"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As Unidades Acadêmicas, Faculdades e Departamentos deverão solicitar com prazo de uma semana.&lt;/div&gt;
&lt;div style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;PADDING-LEFT:0cm;MARGIN-BOTTOM:0pt;LINE-HEIGHT:150%;" align="justify"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;PADDING-LEFT:0cm;MARGIN-BOTTOM:0pt;LINE-HEIGHT:150%;" align="justify"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;PADDING-LEFT:0cm;MARGIN-BOTTOM:0pt;LINE-HEIGHT:150%;" align="justify"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="PADDING-RIGHT:0cm;MARGIN-TOP:0cm;PADDING-LEFT:0cm;MARGIN-BOTTOM:0pt;LINE-HEIGHT:150%;" align="justify"&gt;&lt;em&gt;But I don´t have sucess, all that tags are displayed not the text&lt;/em&gt; &lt;/div&gt;</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/23101.aspx</link><pubDate>Mon, 17 Sep 2007 11:50:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23101</guid><dc:creator>shayrlz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23101.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23101</wfw:commentRss><description>&lt;p&gt;With .text I am getting the DIVs tags too...&lt;/p&gt;</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/23091.aspx</link><pubDate>Fri, 14 Sep 2007 17:35:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23091</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23091</wfw:commentRss><description>&lt;p&gt;The previous discussion was about setting an XHTML value. Are you asking about how to get just the text of an XHTML node? If you want just the text, and not all the nodes, just access the .text property.&lt;/p&gt;</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/23076.aspx</link><pubDate>Fri, 14 Sep 2007 13:47:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23076</guid><dc:creator>shayrlz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23076.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23076</wfw:commentRss><description>&lt;p&gt;I am confused too, have u a exemple to get only &amp;quot;test&amp;quot; ?&lt;/p&gt;</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/11072.aspx</link><pubDate>Wed, 14 Feb 2007 00:59:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11072</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11072</wfw:commentRss><description>So are you trying to set the "value" of the rich text field, or append new nodes to the rich text field.. that's where I think the key difference is.&lt;br /&gt;&lt;br /&gt;i.e. thisXDocument.DOM.selectSingleNode("myRichTextField").text = "&amp;lt;div xmlns=\"http://www.w3.org/1999/xhtml\"&amp;gt;test&amp;lt;/div&amp;gt;"; will only give you the text.&lt;br /&gt;&lt;br /&gt;You need to create a new node from that xhtml and do an appendChild(newNode) to the rich text field.</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/11071.aspx</link><pubDate>Mon, 12 Feb 2007 01:10:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11071</guid><dc:creator>christianlebe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11071.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11071</wfw:commentRss><description>Thanks for your answer, Greg.&lt;br /&gt;&lt;br /&gt;So what I need to do?&lt;br /&gt;&lt;br /&gt;I have tried creating a new node by referencing to that namespace..&lt;br /&gt;Well it's a text node with an xhtml formatted:&lt;br /&gt;&lt;br /&gt;something that begins with:&lt;br /&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"&lt;br /&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&amp;gt;&lt;br /&gt;I have validated the xhtml and it is valid.&lt;br /&gt;&lt;br /&gt;Then I create valid xhtml and tried attaching it. However, infopath shows all the xhtml  tags and no formatting at all.&lt;br /&gt;&lt;br /&gt;I've also tried mimicking how infopath creates newline (ie.&amp;lt;div xmlns="http://www.w3.org/1999/xhtml"&amp;gt;test&amp;lt;/div&amp;gt;&lt;br /&gt;Put them in my script and attaching it on the node. However, it displays the whole tag and no newline :(&lt;br /&gt;&lt;br /&gt;So confused..</description></item><item><title>Re: Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/11070.aspx</link><pubDate>Fri, 09 Feb 2007 20:36:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11070</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11070</wfw:commentRss><description>You cannot simple assign a text value, like other fields, to a rich text box and expect HTML to come out the other side. Text is text is text. You need to build an XHTML DOM (note that Rich Text has a special namespace that it expects to be used on every top level node which you can find by creating a sample app and saving an XML file with Rich Text). Once you have built your XHTML DOM, you can insert/append it to the rich text node.</description></item><item><title>Xhtml format?</title><link>https://www.infopathdev.com:443/forums/thread/6052.aspx</link><pubDate>Fri, 09 Feb 2007 05:48:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6052</guid><dc:creator>christianlebe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6052.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6052</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;I've been trying to add a repetitive rich formatted textbox in infopath form using jscript.&lt;br /&gt;&lt;br /&gt;I have formatted the textbox to Rich Formatted (XHTML) but for some reason, i cant put any XHTML code when I tried to add new value for the text box. Infopath interprets it as pure text, I can not even add a new line.&lt;br /&gt;&lt;br /&gt;I have tried \n, &amp;lt;br /&amp;gt;, &amp;lt;br&amp;gt; :( Does anyone have any idea about this?&lt;br /&gt;</description></item></channel></rss>