Need Explanation of some terms to help me in more understanding
I have developed interest in styles creation. Getting to understand it.However there are some terms I need you out there to throw more light in explanation.
For example the meaning of the following
(1)
<choose>
<if type="book chapter article-journal" match="none">
<date variable="issued">
<date-part prefix=", " name="month"/>
<date-part prefix=" " name="day"/>
</date>
</if>
</choose>
</group>
</if>
<else>
<text prefix=" (" term="no date" suffix=")."/>
</else>
</choose>
</macro>
(2)
<macro name="edition">
<choose>
<if type="book chapter" match="any">
<choose>
<if is-numeric="edition">
<number variable="edition" form="ordinal" prefix=", "/>
<text term="edition" form="short" prefix=" " suffix="."/>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
Particularly what do these clauses mean?
a) <if type="book chapter article-journal" match="none">
and
b) <if type="book chapter" match="any">
Thanks and hope to hear from you.
For example the meaning of the following
(1)
<choose>
<if type="book chapter article-journal" match="none">
<date variable="issued">
<date-part prefix=", " name="month"/>
<date-part prefix=" " name="day"/>
</date>
</if>
</choose>
</group>
</if>
<else>
<text prefix=" (" term="no date" suffix=")."/>
</else>
</choose>
</macro>
(2)
<macro name="edition">
<choose>
<if type="book chapter" match="any">
<choose>
<if is-numeric="edition">
<number variable="edition" form="ordinal" prefix=", "/>
<text term="edition" form="short" prefix=" " suffix="."/>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
Particularly what do these clauses mean?
a) <if type="book chapter article-journal" match="none">
and
b) <if type="book chapter" match="any">
Thanks and hope to hear from you.
Does that help?
(PS: you can preserve the formatting of indented code on the forum by enclosing it in <code></code> tags.)