Re: [jira] Commented: (FOR-872) Updated odt_to_xhtml.xsl to pass & <h1> elements.</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=dev@forrest.apache.org&q=from:%22Ross+Gardler%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Ross Gardler</span></span></a></span> <span class="date"><a href="/search?l=dev@forrest.apache.org&q=date:20060506" rel="nofollow">Sat, 06 May 2006 07:10:41 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre style="margin: 0em;"> Web Maestro Clay wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> On May 5, 2006, at 8:36 AM, Ross Gardler wrote:</pre><pre> </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> Cyriaque Dupoirieux wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> le 05/05/2006 17:13 Ross Gardler a écrit : </pre></blockquote></blockquote></blockquote><pre style="margin: 0em;"> ... </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>It doesn't require that much more work since it will (hopefully) </tt><tt>only be a case of copying over the code from the OOo plugin. </tt><pre style="margin: 0em;"> </pre><tt>The fact that it creates invalid XDocs is not a huge problem as it </tt><tt>only affects things on the internal side of Forrest and so </tt><tt>validation checks are not an issue (in fact the internal format is </tt><tt>not valid in many other ways too). We can return and address this at </tt><tt>a later date. </tt></blockquote></blockquote></blockquote><pre style="margin: 0em;"> </pre><tt>David Crossley mentioned in another thread[1], that document-v11.dtd is </tt><tt>similar to document-v13.dtd, except: </tt><pre style="margin: 0em;"> ==== </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> Why "transform.docv10.docv11"? No problem: docv11 is essentially the same as docv13, some restrictions were relaxed and every element can have a @class attr. </pre></blockquote><pre style="margin: 0em;"> ==== </pre></blockquote><pre style="margin: 0em;"> </pre><tt>It's not the presences of clas attributes that make it invalid. It is </tt><tt>the fact that the class definitions are placed in the XDoc head. As I </tt><tt>pointed out earlier we are now able to do this a different way, since </tt><tt>locationmaps and plugin sitemaps allow us to intercept the request for </tt><tt>skinconf.xml. </tt><pre style="margin: 0em;"> </pre><tt>In the dispatcher it will be slightly different (but easier). Are you </tt><tt>using skins or dispatcher? Obviously you will ant a solution that suits </tt><tt>your needs. </tt><pre style="margin: 0em;"> </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>In SXW, if I remember rifhtly, T1 was the predefined style called </tt><tt>"Title 1" in the drop down styles list. </tt></blockquote></blockquote><pre style="margin: 0em;"> </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>That is correct. This file did begin 'life' as an SXW file. I started </tt><tt>the site for a client by copying the files into using OOo and saving </tt><tt>them as SXW files. After getting bitten by the many bugs in OOo's SXW </tt><tt>styling system we opted to create an ODT plugin instead of updating OOo. </tt><tt>I'll have to go through each file and clear formatting, then reapply </tt><tt>bold and italic where necessary. </tt></blockquote><pre style="margin: 0em;"> </pre><tt>Should be no need to do that with my approach. Simply allow whatever </tt><tt>styiling you want to pass through. Remember with this appraoch it is </tt><tt>irrevlevant what the style is called, we are using the actual </tt><tt>definitions of styles not the names of styles. </tt><pre style="margin: 0em;"> </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> [1] <a rel="nofollow" href="http://article.gmane.org/gmane.text.xml.forrest.user/3540">http://article.gmane.org/gmane.text.xml.forrest.user/3540</a> p.s. Shouldn't this discussion be happening in JIRA? </pre></blockquote><pre style="margin: 0em;"> </pre><tt>No we don't discuss in Jira, it's not a convenient mechanism for free </tt><tt>flowing and threaded discussion. What we need to do now is place short a </tt><tt>summary of the discussionin and a link to the archives in the relevant </tt><tt>issue. </tt><pre style="margin: 0em;"> Ross </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg09361.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd15.html#09362">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail15.html#09362">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg09364.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">Re: [jira] Commented: (FOR-872) Updated odt_to_xhtml.xsl...</span> <span class="sender italic">Ross Gardler</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09364.html">[jira] Commented: (FOR-872) Updated odt_to_xhtml.xs...</a></span> <span class="sender italic">Clay Leeds (JIRA)</span></li> <li class="icons-email"><span class="subject"><a href="msg09406.html">Re: [jira] Commented: (FOR-872) Updated odt_to_xhtm...</a></span> <span class="sender italic">Clay Leeds</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09408.html">Re: [jira] Commented: (FOR-872) Updated odt_to_...</a></span> <span class="sender italic">Clay Leeds</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09412.html">Re: [jira] Commented: (FOR-872) Updated odt...</a></span> <span class="sender italic">Ross Gardler</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09424.html">Re: [jira] Commented: (FOR-872) Updated...</a></span> <span class="sender italic">Web Maestro Clay</span></li> </ul> </ul> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" style="display:none"> <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value=""> <input type="hidden" name="msgid" value=""> <input type="hidden" name="relpath" value=""> <input type="submit" value=""> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="dev@forrest.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search dev"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/dev@forrest.apache.org/">dev - all messages</a></li> <li class="icons-about"><a href="/dev@forrest.apache.org/info.html">dev - about the list</a></li> <li class="icons-expand"><a href="/search?l=dev@forrest.apache.org&q=subject:%22Re%5C%3A+%5C%5Bjira%5C%5D+Commented%5C%3A+%5C%28FOR%5C-872%5C%29+Updated+odt_to_xhtml.xsl+to+pass+%3Ctitle%3E+%5C%26+%3Ch1%3E+elements.%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg09361.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg09364.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray"></li> </ul> </div> </body> </html>