So if the 'type' attribute of the OL element is deprecated and
authors should rely only on stylesheets how one could use a
reference (as clear text) in the content to a particular list element?
Suppose I have:
<ol type="1" id="main">
<li>baba</li>
<li>lele
<ol type="a" id="ext">
<li>muhu</li>
</ol>
</li>
</ol>
<p>
Some text here... (here I put) in conjunction with p. 2(a)... so on.</p>
The missing HTML functionality here is to reference an element from
a list (even an "unordered" list). Such references are very
important for various normative documents.
So I think there should be functionality to reference (either as a
hyper link and/or other means) an element from a list, may be
something like:
<a href="#ext&1">p . 2(a)</a>
But preferably there should be a way to include the actual generated
"number" for a given list item in some place in the document content:
<p>
.... according to point <LREF for="ext" num="1">2(a)</LREF>, na-na...</p>
Where the content of the LREF element would be used as alternative
where UAs doesn't support this functionality.
Are there other opinions on the matter?
--
Stanimir
authors should rely only on stylesheets how one could use a
reference (as clear text) in the content to a particular list element?
Suppose I have:
<ol type="1" id="main">
<li>baba</li>
<li>lele
<ol type="a" id="ext">
<li>muhu</li>
</ol>
</li>
</ol>
<p>
Some text here... (here I put) in conjunction with p. 2(a)... so on.</p>
The missing HTML functionality here is to reference an element from
a list (even an "unordered" list). Such references are very
important for various normative documents.
So I think there should be functionality to reference (either as a
hyper link and/or other means) an element from a list, may be
something like:
<a href="#ext&1">p . 2(a)</a>
But preferably there should be a way to include the actual generated
"number" for a given list item in some place in the document content:
<p>
.... according to point <LREF for="ext" num="1">2(a)</LREF>, na-na...</p>
Where the content of the LREF element would be used as alternative
where UAs doesn't support this functionality.
Are there other opinions on the matter?
--
Stanimir
Comment