<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://openxmldeveloper.com/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>Use XSLT to transform XML to Open XML</title><link>http://openxmldeveloper.com/articles/4283.aspx</link><description>by Bryce Telford
SO WHAT IS IT?
I set out to create an OpenXML Document from an xml file using XSLT and the Open XML SDK 2.0. While it is possible to create a fully fledged Open XML document from XSLT and XML, a few shortcuts make the process a lot</description><dc:language>en-US</dc:language><generator>CommunityServer 2.0 (Build: 60526.2668)</generator><item><title>re: Use XSLT to transform XML to Open XML</title><link>http://openxmldeveloper.com/articles/4283.aspx#7446</link><pubDate>Fri, 28 Aug 2009 09:21:13 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:7446</guid><dc:creator>robertk</dc:creator><description>I designed fleXdoc in a similar way: it also supports several xslt-constructions (value-of, for-each, if), but these instructions can be inserted in the template from within Word itself.&lt;br&gt;&lt;br&gt;You can check it out here: &lt;a rel="nofollow" target="_new" href="http://flexdoc.codeplex.com"&gt;http://flexdoc.codeplex.com&lt;/a&gt;</description></item><item><title>re: Use XSLT to transform XML to Open XML</title><link>http://openxmldeveloper.com/articles/4283.aspx#8366</link><pubDate>Thu, 01 Apr 2010 18:02:57 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:8366</guid><dc:creator>JeffGumbel</dc:creator><description>I have this working and it does exactly what I want, except one frustrating issue. &amp;nbsp;I have the following in my XML file, however, when it comes through the style sheet all the new-line/carriage returns are gone. &amp;nbsp;I've tried placing ASCII code in the XML, using space preserve in the xslt, that renders the tabs, but not the carriage returns. &amp;nbsp;I've even placed the &amp;lt;w:t&amp;gt; and other code in the xml without any solution. &amp;nbsp; I've searched for solutions but have yet to find one.&lt;br&gt;&lt;br&gt;&amp;lt;OUTLINE&amp;gt;&lt;br&gt;Topical Outline: &amp;nbsp;&lt;br&gt; &amp;nbsp; &amp;nbsp;I.	Reaction to Stimuli												7&lt;br&gt;	A.	Visual&lt;br&gt;	B.	Auditory&lt;br&gt;	C.	Tactile&lt;br&gt;&lt;br&gt; &amp;nbsp; II.	Attending Skills													7&lt;br&gt;	A.	Discussion&lt;br&gt;	B.	Conversations&lt;br&gt;	C.	Listening&lt;br&gt;&lt;br&gt; &amp;nbsp;III.	Visual Recognition												8&lt;br&gt;	A.	Letters&lt;br&gt;	B.	Symbols&lt;br&gt;&lt;br&gt; &amp;nbsp; IV.	Following Directions												8&lt;br&gt;	A.	Oral&lt;br&gt;	B.	Symbols&lt;br&gt;	C.	Written&lt;br&gt;&amp;lt;/OUTLINE&amp;gt;</description></item><item><title>re: Use XSLT to transform XML to Open XML</title><link>http://openxmldeveloper.com/articles/4283.aspx#8451</link><pubDate>Mon, 12 Apr 2010 17:48:26 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:8451</guid><dc:creator>robertk</dc:creator><description>Jeff,&lt;br&gt;&lt;br&gt;The data from the xml-file is put within a Text-element (&amp;lt;w:t&amp;gt;). This element supports newlines, BUT only as Break-elements (&amp;lt;w:br/&amp;gt;), not just \n. So try to use &amp;lt;w:br/&amp;gt; inside the data.&lt;br&gt;&lt;br&gt;By the way, fleXdoc translates \n automatically to break-elements. You may want to check it out: &lt;a rel="nofollow" target="_new" href="http://flexdoc.codeplex.com"&gt;http://flexdoc.codeplex.com&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Gr,&lt;br&gt;Robert te Kaat</description></item></channel></rss>