Skip to content

Phrase Structure Elements

Arne Binder edited this page May 16, 2014 · 12 revisions

<hi>

@rendition and not(@rend)

<hi rendition="#aq #b #blue">content</hi>

output:

<span class="dta-aq dta-b dta-blue">content</span>

@rend

<hi rend="quer">content</hi>

output:

<span title="quer" class="dta-rend">content</span>

@rend and @rendition

<hi rendition="#aq #b #blue" rend="quer">content</hi>

output:

<span title="quer" class="dta-rend dta-aq dta-b dta-blue">content</span>

<formula>

<formula/>  

output:

<span class="dta-ph dta-formula-1" onclick="editFormula(1)" style="cursor:pointer"> [Formel 1] </span>
<formula notation="TeX">\frac{1}{2}</formula>	

output:

<span class="dta-formula"> 
	<img style="vertical-align:middle; -moz-transform:scale(0.7); -webkit-transform:scale(0.7); transform:scale(0.7)" src="http://dinglr.de/formula/%5Cfrac%7B1%7D%7B2%7D"/> 
</span>
<formula notation="TeX">ü + ſ</formula>

output:

<span class="dta-formula"> 
	<img style="vertical-align:middle; -moz-transform:scale(0.7); -webkit-transform:scale(0.7); transform:scale(0.7)" src="http://dinglr.de/formula/%FC%20%2B%20%3F"/> 
</span>

<foreign>

no content, @xml:lang="he" (as showcase, "heb" and "hbo" cause the same result. "el", "grc" and "ell" are mapped to the span content "griechisch".)

<foreign xml:lang="he"/>

output:

<span class="dta-foreign" title="fremdsprachliches Material" xml:lang="he">FM: hebräisch</span>

no content, @xml:lang="zh" (as showcase for an unknown xml:lang code)

<foreign xml:lang="zh"/>

output:

<span class="dta-foreign" title="fremdsprachliches Material" xml:lang="zh">FM: zh</span>

no content, not(@xml:lang)

<foreign/>

output:

<span class="dta-foreign" title="fremdsprachliches Material"/>

content, @xml:lang="he"

<foreign xml:lang="he">content</foreign>

output:

<span class="dta-foreign" title="fremdsprachliches Material" xml:lang="he">content</span>

content, @xml:lang="zh"

<foreign xml:lang="zh">content</foreign>

output:

<span class="dta-foreign" title="fremdsprachliches Material" xml:lang="zh">content</span>

content, not(@xml:lang)

<foreign>content</foreign>

output:

<span class="dta-foreign" title="fremdsprachliches Material">content</span>

<q>

<q>content</q>

output:

<q class="dta-quote">content</q>

<quote>

<quote>content</quote>

output:

<q class="dta-quote">content</q>

<ref>

<ref target="#f0001">ref</ref>

output:

<span class="dta-ref" data-target="#f0001">ref</span>

<date>

<date>content</date>

output:

<span class="dta-date">content</span>

Elements concerning Names

<name>

<name>content</name>

output:

<span class="dta-name">content</span>

<orgName>

<orgName>content</orgName>

output:

<span class="dta-orgname">content</span>

<persName>

<persName>content</persName>

output:

<span class="dta-persname">content</span>

<placeName>

<placeName>content</placeName>

output:

<span class="dta-placename">content</span>

Clone this wiki locally