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:20060505" rel="nofollow">Fri, 05 May 2006 08:14:11 -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 3:01 AM, Ross Gardler wrote:</pre><pre> </pre></blockquote><pre style="margin: 0em;"> ... </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>In this case if the class="T1" attribute were allowed to pass through, </tt><tt>suppose I could just create a style for it in skinconf.xml. Then, I </tt><tt>don't think it would be invalid code (unless the DTD doesn't allow </tt><tt>that). </tt><tt>We could 'pick and choose' styles that way... Any styles which </tt><tt>are not in skinconf.xml would be ignored. If we could modify the </tt><tt>pipeline to only allow styles from skinconf.xml it would be all the </tt><tt>better. </tt></blockquote><pre style="margin: 0em;"> </pre><tt>Your approach makes two assumptions, both of which are, in my opinion, </tt><tt>flawed: </tt><pre style="margin: 0em;"> 1) we know what T1 is used for by the user </pre><tt>2) we can force a predefined style on T1 and the document will still </tt><tt>look right </tt><pre style="margin: 0em;"> </pre><tt>My approach allows us to pull the style information from the OOo </tt><tt>document and therefore respect the users wishes within the confines of </tt><tt>the web designers rules. </tt><pre style="margin: 0em;"> </pre><tt>It doesn't require that much more work since it will (hopefully) only be </tt><tt>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 only </tt><tt>affects things on the internal side of Forrest and so validation checks </tt><tt>are not an issue (in fact the internal format is not valid in many other </tt><tt>ways too). We can return and address this at a later date. </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="msg09343.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd15.html#09344">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail15.html#09344">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg09345.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg09335.html">Re: [jira] Commented: (FOR-872) Updated odt_to_xhtml.x...</a></span> <span class="sender italic">Ross Gardler</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09343.html">Re: [jira] Commented: (FOR-872) Updated odt_to_xh...</a></span> <span class="sender italic">Web Maestro Clay</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [jira] Commented: (FOR-872) Updated odt_t...</span> <span class="sender italic">Ross Gardler</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09345.html">Re: [jira] Commented: (FOR-872) Updated o...</a></span> <span class="sender italic">Cyriaque Dupoirieux</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09346.html">Re: [jira] Commented: (FOR-872) Updat...</a></span> <span class="sender italic">Ross Gardler</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09353.html">Re: [jira] Commented: (FOR-872) ...</a></span> <span class="sender italic">Web Maestro Clay</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09362.html">Re: [jira] Commented: (FOR-8...</a></span> <span class="sender italic">Ross Gardler</span></li> </ul></li> </ul></li> </ul></li> </ul></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg09349.html">Re: [jira] Commented: (FOR-872) Updated odt_to_xh...</a></span> <span class="sender italic">David Crossley</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09406.html">Re: [jira] Commented: (FOR-872) Updated odt_t...</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 o...</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) Updat...</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) ...</a></span> <span class="sender italic">Web Maestro Clay</span></li> </ul></li> </ul></li> </ul></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg09364.html">[jira] Commented: (FOR-872) Updated odt_to_xhtml....</a></span> <span class="sender italic">Clay Leeds (JIRA)</span></li> </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="msg09343.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg09345.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> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9acf75007f58fa27',t:'MTc2NTU2NTk0Ng=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>