<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: xml:sort not supported?</title><link>https://www.infopathdev.com:443/forums/thread/16228.aspx</link><pubDate>Tue, 16 May 2006 19:44:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16228</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16228.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16228</wfw:commentRss><description>xsl:sort is not natively supported in InfoPath. When you "roundtrip" your form (i.e. bring it into the designer, make a change, and save it again) the xsl:sort tag is either modified or stripped out, making it useless.&lt;br /&gt;&lt;br /&gt;The only way around this is to use a Preserve Code Block -- which means that InfoPath will pretty much leave your XSL code alone within that block.</description></item><item><title>Re: xml:sort not supported?</title><link>https://www.infopathdev.com:443/forums/thread/16227.aspx</link><pubDate>Tue, 16 May 2006 19:00:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16227</guid><dc:creator>terash</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16227.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16227</wfw:commentRss><description>Hi Uma, thanks for the response. I am somewhat aware of using xml:sort as an element, however here is the problem I am running into. I have an infopath form that uses 3 different views, an edit, filter and published view. The published view is the view I need to edit, there is a rich text field in the published view that once merged with other documents contains all the text from the field. I want to sort and then apply styles to the text. &lt;br /&gt;&lt;br /&gt;Here is a block of code from the xsl file. &lt;br /&gt;&lt;br /&gt;&amp;lt;xsl:template match="my:Story" mode="_4"&amp;gt;&lt;br /&gt;	&amp;lt;xsl:for-each select="my:Story"&amp;gt;&lt;br /&gt;	&amp;lt;xsl:sort selected="my:Story"/&amp;gt;&lt;br /&gt;		&amp;lt;div class="xdRepeatingSection xdRepeating" title="" style="MARGIN-BOTTOM: 6px; WIDTH: 651px" align="left" xd:CtrlId="CTRL17" xd:xctname="RepeatingSection" tabIndex="-1"&amp;gt;&lt;br /&gt;			&amp;lt;div&amp;gt;&lt;br /&gt;				&amp;lt;span class="xdTextBox " hideFocus="1" title="" xd:CtrlId="CTRL27" xd:xctname="RichText" xd:binding="my:company" xd:disableEditing="yes" tabIndex="-1" style="WIDTH: 640px; WHITE-SPACE: nowrap; WORD-WRAP: normal"&amp;gt;&lt;br /&gt;					&amp;lt;xsl:value-of select="my:company"/&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;				&amp;lt;/span&amp;gt;&lt;br /&gt;			&amp;lt;/div&amp;gt;&lt;br /&gt;			&amp;lt;div&amp;gt;&amp;lt;font style="bold"&amp;gt;&lt;br /&gt;				&amp;lt;span class="xdTextBox" hideFocus="1" title="" xd:CtrlId="CTRL25" xd:xctname="RichText" xd:binding="my:newslettertitle" xd:disableEditing="yes" tabIndex="-1" style="WIDTH: 640px; WHITE-SPACE: nowrap; HEIGHT: 20px; WORD-WRAP: normal"&amp;gt;&lt;br /&gt;					&amp;lt;xsl:value-of select="my:newslettertitle"/&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;				&amp;lt;/span&amp;gt;&lt;br /&gt;				&amp;lt;/font&amp;gt;&lt;br /&gt;			&amp;lt;/div&amp;gt;&lt;br /&gt;			&amp;lt;div&amp;gt;&lt;br /&gt;				&amp;lt;span class="xdRichTextBox" hideFocus="1" title="" xd:CtrlId="CTRL19" xd:xctname="RichText" xd:binding="my:newsbrief" xd:disableEditing="yes" tabIndex="-1" style="WIDTH: 100%; WHITE-SPACE: normal; HEIGHT: 50px"&amp;gt;&lt;br /&gt;					&amp;lt;xsl:copy-of select="my:newsbrief/node()"/&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;				&amp;lt;/span&amp;gt;&lt;br /&gt;			&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;The problem is when I merge the fields it doesn#%92t apply a style nor does it sort correct… &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: xml:sort not supported?</title><link>https://www.infopathdev.com:443/forums/thread/16226.aspx</link><pubDate>Thu, 11 May 2006 06:26:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16226</guid><dc:creator>uma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16226</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I think as Infopath says you are using xsl:sort as a attribute. But actually it is not a attribute. It is a element which is mostly used under the &amp;lt;xsl:foreach&amp;gt; element to sort the selected elements. &lt;br /&gt;&lt;br /&gt;To know more about the &amp;lt;xsl:sort&amp;gt; element visit the below given link.&lt;br /&lt;a target="_blank" href=http://www.w3schools.com/xsl/xsl_sort.asp&gt;http://www.w3schools.com/xsl/xsl_sort.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I hope, this will help you to solve your problem.&lt;br /&gt;</description></item><item><title>xml:sort not supported?</title><link>https://www.infopathdev.com:443/forums/thread/15403.aspx</link><pubDate>Thu, 11 May 2006 02:32:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15403</guid><dc:creator>terash</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15403.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15403</wfw:commentRss><description>&lt;font face="Trebuchet MS"&gt;xsl:sort not supported?&lt;/font id="Trebuchet MS"&gt;&lt;br /&gt;&lt;font face="Verdana"&gt;Hiya, I have an infopath form that I am modifiying one of the views xsl files. I'm basically just trying to sort the order of values returned in InfoPath, however the problem occurs not when I open up the infopath document and check out the view, but when I export the document. Infopath tells me the attribute is not supported? Has anyone experienced this as well? I&lt;/font id="Verdana"&gt;</description></item></channel></rss>