<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1256"><base href="x-msg://307/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Pola,<div>The tags you tried are not OSIS and will not validate against the OSIS schema.</div><div><br></div><div>I'll try to explain why it may seem like a good idea to use HTML (or even xhtml) in OSIS: Because it works in some applications that consume OSIS.</div><div><br></div><div>For example:</div><div><br></div><div>Many of the SWORD frontends use an HTML renderer to render content, passing to it what comes out of the render filters. Many times the render filters pass the xml tags that they are not expecting. Other times they strip them out.</div><div><br></div><div>The HTML renderers vary in their ability to render all of HTML. Earlier versions of Xiphos had a fairly limited renderer. They are moving to a better renderer and it may already be available. JSword is stuck with an early version of HTML.</div><div><br></div><div>If the frontend does not convert the OSIS to HTML but to some other form (e.g. RTF) then it is most likely the non-OSIS tags will not be handled in an acceptable way.</div><div><br></div><div>That it works in one application and not another should be an indication that what you have done is some how not quite right.</div><div><br></div><div>Regarding the specific problems you are having with the output not showing up correctly in an application, that is an application problem, not an OSIS problem. This list is concerned with what is proper OSIS not with applications that render OSIS. If you have a specific problem with an application then that application's forum or mailing list is a better place to ask the question.</div><div><br></div><div>Regarding titles in a commentary. By default the canonical attribute of a title is "false". This default is fine for Bibles, but not for commentaries. You'll need to set it to "true". SWORD applications treat titles with a toggle when canonical="false" but not with canonical="true". It may be that the application needs to have the toggle set to show titles (it may be called headings).</div><div><br></div><div>The canonical attribute is also false for div, which is probably not true for a commentary. In the context of a commentary, canonical distinguishes between what is part of the commentary and what is not (example, an editorial comment/footnote).</div><div><br></div><div>The OSIS equivalent of <br /> is <lb />.</div><div><br></div><div>The OSIS equivalent of <b> and <strong> is <hi type="bold">.</div><div><br></div><div>There is no OSIS equivalent of <font>. That is a rendering directive. OSIS is all about structure. Rendering is left to applications.</div><div><br></div><div>There is no OSIS equivalent to <hr />. The closest is <hi type="underline">. But still this seems to want to control rendering, which is not in the realm of OSIS, but applications.</div><div><br></div><div>Your use of <head> is not right. It is only allowed as a child of <table>, <list> and <castGroup>. In those contexts, it is an equivalent of a title.</div><div><br></div><div>Regarding references, it'd be best to have one issue per email. You didn't give enough information for us to try to help figure out what is not working.</div><div><br></div><div>In Him,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>DM</div><div><br></div><div><br><div><div>On Jan 4, 2013, at 1:32 PM, Pola Edward <5001@<a href="http://hotmail.com">hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div dir="ltr">Thanks again Chris for your help .<br>Today I spent my day trying different tags in OSIS ,<br><br>I'll use Head for titles since Title doesn't display anything, I write it in <div annotateRef="Matt.1.1" annotateType="commentary" type="section"><br>But <head><font size="+1"><b>Head Tile Here</b></font></head> Worked<span class="Apple-converted-space"> </span><br><br>Also I'll use <hr /> After Titles to make the output more readable<span class="Apple-converted-space"> </span><br><br>and will separate Paragraphs with Double <br /><br><br>I couldn't get the references to work by anyway, and tried it in different forms .<br><br>I'll Modify the program to render this extra output, Please reply me with your opinions<span class="Apple-converted-space"> </span><br><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Mon, 31 Dec 2012 00:08:06 -0800<br>> From:<span class="Apple-converted-space"> </span><a href="mailto:chrislit@crosswire.org">chrislit@crosswire.org</a><br>> To:<span class="Apple-converted-space"> </span><a href="mailto:osis-users@crosswire.org">osis-users@crosswire.org</a><br>> Subject: Re: [osis-users] Question about Commentary Osis<br>><span class="Apple-converted-space"> </span><br>> On 12/30/2012 8:43 PM, pola ashraf wrote:<br>> > Hi everyone,<br>> > I don't know the suitable list to submit this question to, so i posted<br>> > it to Sword-Devel and Osis-Users<br>> ><br>> > Now, We've made a very simple commentary editor, so non-technical data<br>> > entry can use it easily to generate valid XML<br>> > <a href="http://s9.postimage.org/r6vtq6hjj/Commentary_Editor.png">http://s9.postimage.org/r6vtq6hjj/Commentary_Editor.png</a><br>> ><br>> > We'll use it to make Arabic Commentaries, But i have some questions<br>> > about OSIS XML<br>> ><br>> > *The Main Output*<br>> > the program above make this output based on the chosen options<br>> ><br>> > <div type="section" annotateType="commentary" annotateRef="Gen.1.1"><p><br>> > Blah Blah Blah<br>> > Blah Blah<br>> > </p></div><br>> ><br>> > Now,<br>> > How to Add Titles to the commentary text, So Verse 1 Commentary could<br>> > start with title explaining the topic of the Verse/Verse Range ?<br>><span class="Apple-converted-space"> </span><br>> <title>....</title><br>><span class="Apple-converted-space"> </span><br>> Some of the established title types can be seen here:<span class="Apple-converted-space"> </span><br>> <a href="http://www.crosswire.org/osis/schemas/osisCore.2.1.1.xsd.html#h-1757748498">http://www.crosswire.org/osis/schemas/osisCore.2.1.1.xsd.html#h-1757748498</a><br>><span class="Apple-converted-space"> </span><br>> For a title identifying the verse under discussion you could use:<br>> <title type="scope"><reference osisRef="...">...</reference></title><br>><span class="Apple-converted-space"> </span><br>> > What are the suitable tags for references (to verses, or general<br>> > references) ?<br>><span class="Apple-converted-space"> </span><br>> <reference osisRef="...">...</reference><br>><span class="Apple-converted-space"> </span><br>> > What are the suitable tags for Book intro ?<br>><span class="Apple-converted-space"> </span><br>> <div type="introduction">...</div><br>><span class="Apple-converted-space"> </span><br>> Just place this within your book <div> but before any of the commentary<span class="Apple-converted-space"> </span><br>> section <div>s.<br>><span class="Apple-converted-space"> </span><br>> > This is an example for the Commentary Source text<br>> > <a href="http://st-takla.org/pub_Bible-Interpretations/Holy-Bible-Tafsir-02-New-Testament/Father-Tadros-Yacoub-Malaty/01-Engeel-Matta/Tafseer-Engil-Mata__01-Chapter-01.html">http://st-takla.org/pub_Bible-Interpretations/Holy-Bible-Tafsir-02-New-Testament/Father-Tadros-Yacoub-Malaty/01-Engeel-Matta/Tafseer-Engil-Mata__01-Chapter-01.html</a><br>> > <a href="http://popekirillos2.bizhat.com/bible/tafseer/matew1.htm">http://popekirillos2.bizhat.com/bible/tafseer/matew1.htm</a><br>> ><br>> > As you can see in the links above the commentary contains a lot of<br>> > titles and references<br>> ><br>> > Happy New Year and Merry Christmas<br>> > GOD Bless you all and Bless your service<br>> ><br>> > Pola<br>><span class="Apple-converted-space"> </span><br>> I'm not sure whether this is really what you wanted, so let us know if<span class="Apple-converted-space"> </span><br>> your need further guidance.<br>><span class="Apple-converted-space"> </span><br>> --Chris<br>><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> _______________________________________________<br>> osis-users mailing list<br>> <a href="mailto:osis-users@crosswire.org">osis-users@crosswire.org</a><br>> <a href="http://www.crosswire.org/mailman/listinfo/osis-users">http://www.crosswire.org/mailman/listinfo/osis-users</a><br></div></div>_______________________________________________<br>osis-users mailing list<br><a href="mailto:osis-users@crosswire.org">osis-users@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/osis-users">http://www.crosswire.org/mailman/listinfo/osis-users</a></div></blockquote></div><br></div></body></html>