<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx</link><description>This is the third post by Zeyad Rajabi who owns the XHTML output from Word's new blogging feature. In earlier posts, Zeyad discussed a general overview of the XHTML as well as a more detailed post on XHML compliance . Today Zeyad is discussing the ways</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#622069</link><pubDate>Thu, 08 Jun 2006 16:46:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:622069</guid><dc:creator>y</dc:creator><description>If you have a &amp;quot;strong&amp;quot; or &amp;quot;emphasis&amp;quot; style, then you do clearly have indication of semantics, so &amp;lt;strong&amp;gt; or &amp;lt;em&amp;gt; would be appropriate. &amp;nbsp;However, there are many, many ways in which bold and italic styles are used even in English writing practice, let alone other traditions--just note the number of other semantic tags in HTML, that by no means cover the full range of usage. &amp;nbsp;So for text marked as bold or italic without a &amp;quot;strong&amp;quot; or &amp;quot;emphasis&amp;quot; style, it seems to me that &amp;lt;strong&amp;gt; and &amp;lt;em&amp;gt; would not be appropriate. &amp;nbsp;If you don't like &amp;lt;b&amp;gt; or &amp;lt;i&amp;gt;, you can always use CSS inline, but &amp;lt;b&amp;gt; and &amp;lt;i&amp;gt; are perfectly reasonable things to use within a blog entry, which is after all usually more a personal essay than a presentation of structured content--most blog structure is outside of the individual entry.</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#622229</link><pubDate>Thu, 08 Jun 2006 17:31:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:622229</guid><dc:creator>bart roozendaal</dc:creator><description>It may be my knowledge of English, but in this context, to me 'appropriate' means: what does reflect the *intention* of an author best.&lt;br&gt;&lt;br&gt;And almost all of times an author wants to *emphasis* some piece of text and does not (or should not) care how this task is accomplished. That is (or should be) up to a graphic/visual/publication designer. For one publication presenting the text as bold is best; for others choosing a different color can be better. What's even more: such choices can change over time. (so can the selection of text to emphasis be, but that's another discussion).&lt;br&gt;&lt;br&gt;If you have a choice: always go for semantics and leave presentation to a later stage of the production of the document. If possible, that should be dealt with at reading time (in this case by applying a CSS). At Sevensteps, we are very, very strict in this from the beginning, and has always helped us accomplish the task.</description></item><item><title>XHTML output part 3</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#622306</link><pubDate>Thu, 08 Jun 2006 18:38:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:622306</guid><dc:creator>Joe Friend: Microsoft Office Word</dc:creator><description>Zeyad has posted more information on the XHTML output from Word's new blog feature: Word XHTML - Mapping...</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#622366</link><pubDate>Thu, 08 Jun 2006 19:25:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:622366</guid><dc:creator>John</dc:creator><description>Custom Styles would be a great benifit to me and probally many others. That's one of the things that right now will limit my use of Word in this regard. &amp;nbsp;Keep up the good work!</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#622812</link><pubDate>Thu, 08 Jun 2006 23:36:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:622812</guid><dc:creator>Peter Sefton</dc:creator><description>Zeyad, I'd like to talk about all kinds of lists - and how they might interact with other styles. &lt;br&gt;&lt;br&gt;To get good list support in XHTML styles would be a good way to go. You can set up styles that work together. Eg how about a set of numbered styles like:&lt;br&gt;&lt;br&gt;ListNum1 ... ListNum5&lt;br&gt;ListBull1 ... ListBull5&lt;br&gt;Quote1 .... &amp;nbsp;Quote5&lt;br&gt;Preformat1 ... Preformat5&lt;br&gt;dt1 ... dt5&lt;br&gt;dd1 ... dd5&lt;br&gt;&lt;br&gt;This means you can put a Quote2 style after a ListNum1 and the formatter will know that you want to embed the &amp;lt;blockquote&amp;gt; in the &amp;lt;li&amp;gt;. I work on a project where we have built a reasonably complete set of such styles and the formatter to output XHTML. It works well, via a custom nested styles menu. You can see a screenshot in this post of mine: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://ptsefton.com/blog/2006/06/07/word_lists_without_tears"&gt;http://ptsefton.com/blog/2006/06/07/word_lists_without_tears&lt;/a&gt;&lt;br&gt;&lt;br&gt;Without the styles I doubt you will be able to build good support for nested lists combined with other semantics like quotes &amp;nbsp;or code sample. With &amp;nbsp;styles it is trivial to code.&lt;br&gt;&lt;br&gt;If you can't add support for style-based lists as I suggest here then how about adding hooks for a user-defined XSLT stylesheet and/or macros that have access to the underlying Open XML. That way my team can write it for you :-).&lt;br&gt;</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#623036</link><pubDate>Fri, 09 Jun 2006 02:24:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:623036</guid><dc:creator>KJK::Hyperion</dc:creator><description>Actually, Word (as far back as the venerable 97 edition) already comes with &amp;quot;emphasis&amp;quot; and &amp;quot;strong emphasis&amp;quot; styles (translating of course into normal + italic and normal + bold by default) in its default stylesheet, so Word internally can preserve the semantics. It'd then be just a matter of user interface, hooking up the &amp;quot;bold&amp;quot; and &amp;quot;italics&amp;quot; buttons to the styles (apropos, do styles finally cascade in Word 2007?) rather than creating a new range that subclasses the existing style. You could then define some sort of mechanism to map Word styles into CSS styles and XHTML elements, only resorting to &amp;lt;span&amp;gt; for nameless styles&lt;br&gt;&lt;br&gt;While I'm here: can lists nest in Word 2007?</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#623143</link><pubDate>Fri, 09 Jun 2006 04:02:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:623143</guid><dc:creator>Kiko</dc:creator><description>I think it would be better if quotes are mapped to &amp;lt;blockquote&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/blockquote&amp;gt;, for cases wherein the blog site is going for XHTML Strict. In Strict, blockquotes must only contain block-level elements.</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#628311</link><pubDate>Mon, 12 Jun 2006 19:03:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:628311</guid><dc:creator>Zeyad Rajabi</dc:creator><description>Y I do agree that there are occasions that having &amp;lt;b&amp;gt; and &amp;lt;i&amp;gt; are what the user really intended, but I think that scenario is less likely than having &amp;lt;strong&amp;gt; and &amp;lt;em&amp;gt;. Also, our UI tends to favor the usage of &amp;lt;b&amp;gt; and &amp;lt;i&amp;gt; rather than the use of styles. For those two reasons, we decided to output just styles: &amp;lt;strong&amp;gt; and &amp;lt;em&amp;gt;. &lt;br&gt;&lt;br&gt;Peter thanks for the link. I will take a look at your post and see what we can do. In the meanwhile, I should mentioned that we do provide ways to crack open our Open XML file formats. Please reference OpenXMLDeveloper.org. In that way, you guys would be able to write transforms that will convert our new XML files to whatever output you wish. You may also reference Kevin’s blog at &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/kevinboske/"&gt;http://blogs.msdn.com/kevinboske/&lt;/a&gt;. &lt;br&gt;&lt;br&gt;KJK:Hyperion – Our XHTML output preserves nested lists. However, our output does not match the full power of Word 2007. &lt;br&gt;&lt;br&gt;Zeyad&lt;br&gt;</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#629048</link><pubDate>Tue, 13 Jun 2006 06:23:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:629048</guid><dc:creator>Peter Sefton</dc:creator><description>I have written a little more on this, with more concrete examples of list formatting. &lt;a rel="nofollow" target="_new" href="http://ptsefton.com/blog/2006/06/13/list-samples"&gt;http://ptsefton.com/blog/2006/06/13/list-samples&lt;/a&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;Opening up the file and transforming it is fine - but that's not as good as having a built-in mechanism for export. Images are one big issue here. Word has always done a lovely job of exporting images to HTML (since word 97 anyway) whereas if you work only at the file format level you won't get web-ready images.&lt;br&gt;&lt;br&gt;If you guys don't want to add an XSLT export facility like OpenOffice.org (theirs is broken, doesn't do images at all) then please at least export style names as classes and we can post-process word docs to add correct nested structures. </description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#636189</link><pubDate>Sun, 18 Jun 2006 21:35:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:636189</guid><dc:creator>Mr. Dew</dc:creator><description>I like the custom classes. I hope it works for images too! I have classes like leftalign and rightalign to align my images. :D</description></item><item><title>Word XHTML - Bullets and Numbering</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#663514</link><pubDate>Wed, 12 Jul 2006 19:39:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:663514</guid><dc:creator>Brian Jones: Open XML Formats</dc:creator><description>This is the fourth post by Zeyad Rajabi who owns the XHTML output from Word's new blogging feature. In...</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#666009</link><pubDate>Fri, 14 Jul 2006 22:23:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:666009</guid><dc:creator>Ray</dc:creator><description>Hi Brian, &lt;br&gt;I have a question regarding run properties defined in styles (sorry this is a bit off topic, not related to xhtml) :&lt;br&gt;Let say I have defined two styles, one for a paragraph, the other for a run, as follows :&lt;br&gt;&lt;br&gt;&amp;lt;style name=&amp;quot;P&amp;quot;&amp;gt;&lt;br&gt;&amp;lt;rPr&amp;gt;&amp;lt;sz val=&amp;quot;56&amp;quot;/&amp;gt;&amp;lt;b val=&amp;quot;on&amp;quot;/&amp;gt;&amp;lt;/rPr&amp;gt;&lt;br&gt;&amp;lt;/style&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;style name=&amp;quot;R&amp;quot;&amp;gt;&lt;br&gt;&amp;lt;rPr&amp;gt;&amp;lt;sz val=&amp;quot;24&amp;quot;/&amp;gt;&amp;lt;b val=&amp;quot;off&amp;quot;/&amp;gt;&amp;lt;/rPr&amp;gt;&lt;br&gt;&amp;lt;/style&amp;gt;&lt;br&gt;&lt;br&gt;now, if I have the follwing content :&lt;br&gt;&amp;lt;p&amp;gt;&lt;br&gt;&amp;lt;pPr&amp;gt;&amp;lt;pStyle=&amp;quot;P&amp;quot;/&amp;gt;&amp;lt;/pPr&amp;gt;&lt;br&gt;&amp;lt;r&amp;gt;word1&amp;lt;/r&amp;gt;&lt;br&gt;&amp;lt;r&amp;gt;&amp;lt;rStyle=&amp;quot;R&amp;quot;/&amp;gt;word2&amp;lt;/r&amp;gt;&lt;br&gt;&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;then when opening in Word 2007 Beta, &amp;quot;word1&amp;quot; appears with size 26 (ok) and font weight is bold (ok)&lt;br&gt;&amp;quot;word2&amp;quot; appears with size 12 (ok) and font weight bold (not ok!!)&lt;br&gt;&lt;br&gt;now, if I change the run property &amp;lt;b/&amp;gt; (in &amp;quot;R&amp;quot; style) and switch it &amp;quot;on&amp;quot; -&amp;gt; &amp;quot;word2&amp;quot; font-size is 12 and font-weight is not bold anymore... &lt;br&gt;&lt;br&gt;What I don't understand is that defining run properties in a style and applying it to a paragraph seems make all the runs inherit those properties. Except if they override them. It works for &amp;lt;sz&amp;gt; but not for &amp;lt;b&amp;gt; (worst , I have to turn it on!).&lt;br&gt;I don't understand this behavior, can you put the light on this, please?&lt;br&gt;&lt;br&gt;thanks.</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#673272</link><pubDate>Fri, 21 Jul 2006 02:58:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:673272</guid><dc:creator>Zeyad Rajabi</dc:creator><description>Hi Ray,&lt;br&gt;&lt;br&gt;Tristan has answered your question at:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://openxmldeveloper.org/forums/thread/371.aspx"&gt;http://openxmldeveloper.org/forums/thread/371.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Zeyad Rajabi (MS)</description></item><item><title>re: Word XHTML - Mapping styles to semantics</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#673338</link><pubDate>Fri, 21 Jul 2006 04:23:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:673338</guid><dc:creator>Kevin Yank</dc:creator><description>It's great to see you putting so much thought into semantics as you develop the Word blogging feature, Zeyad. On behalf of the web standardistas of the world, we thank you!&lt;br&gt;&lt;br&gt;I think the nested pre and code elements for the &amp;quot;Code&amp;quot; style make perfect sense as long as what is being presented is a block of code. In many cases, however, an author will want to simply present a single keyword, or short code snippet, and for that I think an &amp;quot;Inline Code&amp;quot; style that simply mapped to a code element would be very useful.&lt;br&gt;&lt;br&gt;To satisfy those calling for greater control over semantic mappings (such as whether clicking the bold and italic buttons should produce strong and em elements, respectively), you would need to provide a preferences page with a series of mappings that could be switched on and off. Here are some ideas for what such a list might contain:&lt;br&gt;&lt;br&gt;- Output bold as strong&lt;br&gt;- Output italic as emphasis&lt;br&gt;- Output indent as quotation&lt;br&gt;- Output strikethrough as deleted text&lt;br&gt;- Output underline as inserted text&lt;br&gt;- Discard non-semantic formatting (alignment, font, size, color, etc.)&lt;br&gt;&lt;br&gt;The ability to define custom style mappings to HTML classes is an excellent feature. I very much hope you can get this working!</description></item><item><title>Word XHTML - Tables</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#700520</link><pubDate>Tue, 15 Aug 2006 05:51:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:700520</guid><dc:creator>Brian Jones: Open XML Formats</dc:creator><description>This is the fifth post by Zeyad Rajabi who owns the XHTML output from Word's new blogging feature. In...</description></item><item><title> Brian Jones Office Extensibility Word XHTML Mapping styles to | bird baths</title><link>http://blogs.msdn.com/brian_jones/archive/2006/06/08/621325.aspx#9750981</link><pubDate>Sun, 14 Jun 2009 18:08:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9750981</guid><dc:creator> Brian Jones Office Extensibility Word XHTML Mapping styles to | bird baths</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://cutebirdbaths.info/story.php?id=3665"&gt;http://cutebirdbaths.info/story.php?id=3665&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>