Changeset 213 for rfc2629xslt/rfc2629xslt.xml
- Timestamp:
- 17/02/08 16:30:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629xslt.xml
r204 r213 765 765 <t> 766 766 This element is like the "<eref target="http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-structural.html#edef_structural_h">h</eref>" element in <xref target="XHTML2"/>. 767 </t> 768 </section> 769 770 <section title="<length-of> element" anchor="ext.element.length-of"> 771 <iref item="Extension Elements" subitem="length-of" primary="true"/> 772 <iref item="length-of Extension Element" primary="true"/> 773 <x:anchor-alias value="length-of"/> 774 <t> 775 This element can be used to insert the length of another formatted 776 section (in decimal). 777 </t> 778 <figure> 779 <preamble>Example: computing the Content-Length header value</preamble> 780 <artwork type="example"> 781 <artwork> 782 ... 783 Content-Length: <x:length-of target="req"/> 784 785 <x:span anchor="req">123456789 786 <x:span><artwork/> 787 </artwork> 788 </figure> 789 <t> 790 The lenght computation counts line ends as two characters (CRLF). 791 </t> 792 <t> 793 Note that indentation characters in artwork <spanx>will</spanx> be 794 counted. The "indented" attribute allows to specify the amount of 795 indentation to be substracted from the computed length. 767 796 </t> 768 797 </section> … … 1485 1514 <spanx style="strong">| <x:ref>x_bc</x:ref></spanx> 1486 1515 <spanx style="strong">| <x:ref>x_bt</x:ref></spanx> 1487 <spanx style="strong">| <x:ref>x_ref</x:ref></spanx>)* 1516 <spanx style="strong">| <x:ref>x_length-of</x:ref></spanx> 1517 <spanx style="strong">| <x:ref>x_ref</x:ref></spanx> 1518 <spanx style="strong">| <x:ref>x_span</x:ref></spanx> 1519 <spanx style="strong">| <x:ref>x_x</x:ref></spanx>)* 1488 1520 } 1489 1521 … … 1726 1758 <x:ref>x_dfn</x:ref> = 1727 1759 element x:dfn { 1728 TEXT 1760 (TEXT 1761 | iref)* 1729 1762 } 1730 1763 … … 1734 1767 element x:h { 1735 1768 TEXT 1769 } 1770 1771 <spanx anchor="x_length-of"><iref item="length-of Extension Element"/><iref item="Extension Elements" subitem="length-of" 1772 /># Length Measurement (see <xref target="ext.element.length-of"/>)</spanx> 1773 <x:ref>x_length-of</x:ref> = 1774 element x:length-of { 1775 attribute indented { NUMBER }?, 1776 attribute target { xsd:IDREF }, 1777 empty 1736 1778 } 1737 1779 … … 1773 1815 <x:ref>x_source</x:ref> = 1774 1816 element x:source { 1817 attribute basename { ATEXT }?, 1775 1818 attribute href { URI }, 1776 1819 empty 1777 1820 } 1821 1822 <spanx anchor="x_span"><iref item="span Extension Element"/><iref item="Extension Elements" subitem="span" 1823 /># Inline Span <!--(see <xref target="ext.element.span"/>)--></spanx> 1824 <x:ref>x_span</x:ref> = 1825 element x:span { 1826 attribute anchor { xsd:ID }?, 1827 TEXT 1828 } 1829 1830 <spanx anchor="x_x"><iref item="x Extension Element"/><iref item="Extension Elements" subitem="x" 1831 /># Nop (for alignment in source)</spanx> 1832 <x:ref>x_x</x:ref> = 1833 element x:x { 1834 empty 1835 } 1778 1836 </artwork></figure> 1779 1780 1837 </section> 1781 1838 … … 1804 1861 <section title="License" anchor="license"> 1805 1862 <t> 1806 Copyright (c) 2006-200 7, Julian Reschke (julian.reschke@greenbytes.de)1863 Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de) 1807 1864 </t> 1808 1865 <t> … … 2456 2513 Extension: allow <eref> below <cref>. 2457 2514 </t> 2515 <t hangText="2008-02-17"> 2516 Extensions: add x:span and x:length-of. 2517 </t> 2458 2518 </list></t> 2459 2519 </section>
Note: See TracChangeset
for help on using the changeset viewer.