Changeset 246 for rfc2629xslt/rfc2629xslt.txt
- Timestamp:
- 19/05/08 13:58:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629xslt.txt
r230 r246 4 4 RFC2629 through XSLT J. Reschke 5 5 greenbytes 6 March 7,20086 April 2008 7 7 8 8 … … 56 56 57 57 58 Documentation RFC2629 through XSLT March200858 Documentation RFC2629 through XSLT April 2008 59 59 60 60 61 61 10.14. <source> element . . . . . . . . . . . . . . . . . . . . 24 62 10.15. Extensions to Xml2rfc <iref> element . . . . . . . . . . 24 63 10.16. Extensions to Xml2rfc <list> element . . . . . . . . . . 24 64 10.17. Extensions to Xml2rfc <section> element . . . . . . . . . 24 65 10.18. Extensions to Xml2rfc <xref> element . . . . . . . . . . 25 62 10.15. <sup> element . . . . . . . . . . . . . . . . . . . . . . 24 63 10.16. Extensions to Xml2rfc <iref> element . . . . . . . . . . 24 64 10.17. Extensions to Xml2rfc <list> element . . . . . . . . . . 24 65 10.18. Extensions to Xml2rfc <section> element . . . . . . . . . 25 66 10.19. Extensions to Xml2rfc <xref> element . . . . . . . . . . 25 66 67 11. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 26 67 68 11.1. Checking References . . . . . . . . . . . . . . . . . . . 26 … … 73 74 12. Informative References . . . . . . . . . . . . . . . . . . . . 30 74 75 Appendix A. RELAX NG Compact Schema . . . . . . . . . . . . . . . 32 75 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 39 76 B.1. Recognized type attributes for <artwork> element . . . . 39 77 Appendix C. License . . . . . . . . . . . . . . . . . . . . . . . 40 78 Appendix D. Change Logs . . . . . . . . . . . . . . . . . . . . . 41 79 D.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 41 80 D.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 41 81 D.3. check-references.xslt . . . . . . . . . . . . . . . . . . 41 82 D.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 41 83 D.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 42 84 D.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 52 85 D.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 53 86 D.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 53 87 D.9. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 53 88 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 89 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 62 90 91 76 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 40 77 B.1. Recognized type attributes for <artwork> element . . . . 40 78 Appendix C. License . . . . . . . . . . . . . . . . . . . . . . . 41 79 Appendix D. Change Logs . . . . . . . . . . . . . . . . . . . . . 42 80 D.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 42 81 D.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 42 82 D.3. check-references.xslt . . . . . . . . . . . . . . . . . . 42 83 D.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 42 84 D.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 43 85 D.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 53 86 D.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 54 87 D.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 54 88 D.9. xsl11toFop-0.93.xslt . . . . . . . . . . . . . . . . . . 54 89 D.10. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 55 90 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 91 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 63 92 92 93 93 … … 113 113 114 114 115 Documentation RFC2629 through XSLT March2008115 Documentation RFC2629 through XSLT April 2008 116 116 117 117 … … 170 170 171 171 172 Documentation RFC2629 through XSLT March2008172 Documentation RFC2629 through XSLT April 2008 173 173 174 174 … … 227 227 228 228 229 Documentation RFC2629 through XSLT March2008229 Documentation RFC2629 through XSLT April 2008 230 230 231 231 … … 284 284 285 285 286 Documentation RFC2629 through XSLT March2008286 Documentation RFC2629 through XSLT April 2008 287 287 288 288 … … 341 341 342 342 343 Documentation RFC2629 through XSLT March2008343 Documentation RFC2629 through XSLT April 2008 344 344 345 345 … … 398 398 399 399 400 Documentation RFC2629 through XSLT March2008400 Documentation RFC2629 through XSLT April 2008 401 401 402 402 … … 455 455 456 456 457 Documentation RFC2629 through XSLT March2008457 Documentation RFC2629 through XSLT April 2008 458 458 459 459 … … 512 512 513 513 514 Documentation RFC2629 through XSLT March2008514 Documentation RFC2629 through XSLT April 2008 515 515 516 516 … … 569 569 570 570 571 Documentation RFC2629 through XSLT March2008571 Documentation RFC2629 through XSLT April 2008 572 572 573 573 … … 626 626 627 627 628 Documentation RFC2629 through XSLT March2008628 Documentation RFC2629 through XSLT April 2008 629 629 630 630 … … 683 683 684 684 685 Documentation RFC2629 through XSLT March2008685 Documentation RFC2629 through XSLT April 2008 686 686 687 687 … … 740 740 741 741 742 Documentation RFC2629 through XSLT March2008742 Documentation RFC2629 through XSLT April 2008 743 743 744 744 … … 797 797 798 798 799 Documentation RFC2629 through XSLT March2008799 Documentation RFC2629 through XSLT April 2008 800 800 801 801 … … 854 854 855 855 856 Documentation RFC2629 through XSLT March2008856 Documentation RFC2629 through XSLT April 2008 857 857 858 858 … … 911 911 912 912 913 Documentation RFC2629 through XSLT March2008913 Documentation RFC2629 through XSLT April 2008 914 914 915 915 … … 968 968 969 969 970 Documentation RFC2629 through XSLT March2008970 Documentation RFC2629 through XSLT April 2008 971 971 972 972 … … 1025 1025 1026 1026 1027 Documentation RFC2629 through XSLT March20081027 Documentation RFC2629 through XSLT April 2008 1028 1028 1029 1029 … … 1082 1082 1083 1083 1084 Documentation RFC2629 through XSLT March20081084 Documentation RFC2629 through XSLT April 2008 1085 1085 1086 1086 … … 1139 1139 1140 1140 1141 Documentation RFC2629 through XSLT March20081141 Documentation RFC2629 through XSLT April 2008 1142 1142 1143 1143 … … 1196 1196 1197 1197 1198 Documentation RFC2629 through XSLT March20081198 Documentation RFC2629 through XSLT April 2008 1199 1199 1200 1200 … … 1253 1253 1254 1254 1255 Documentation RFC2629 through XSLT March20081255 Documentation RFC2629 through XSLT April 2008 1256 1256 1257 1257 … … 1310 1310 1311 1311 1312 Documentation RFC2629 through XSLT March20081312 Documentation RFC2629 through XSLT April 2008 1313 1313 1314 1314 … … 1332 1332 ... 1333 1333 1334 10.15. Extensions to Xml2rfc <iref> element 1334 10.15. <sup> element 1335 1336 This element is like the "sup" element in [HTML]. 1337 1338 Note: the down conversion to RFC2629 format replaces "x^y" by "x^y". 1339 1340 10.16. Extensions to Xml2rfc <iref> element 1335 1341 1336 1342 The extension attribute below is allowed on the standard <iref> … … 1343 1349 closest ancestor. 1344 1350 1345 10.1 6. Extensions to Xml2rfc <list> element1351 10.17. Extensions to Xml2rfc <list> element 1346 1352 1347 1353 The extension attribute below is allowed on the standard <list> … … 1355 1361 1356 1362 Also, the <list> element can take <x:lt> child elements instead of 1363 1364 1365 1366 Reschke [Page 24] 1367 1368 1369 Documentation RFC2629 through XSLT April 2008 1370 1371 1357 1372 <t>, allowing to insert multiple paragraphs into a single list item. 1358 1373 1359 10.1 7. Extensions to Xml2rfc <section> element1374 10.18. Extensions to Xml2rfc <section> element 1360 1375 1361 1376 The extension attribute below is allowed on the standard <list> 1362 1377 element: 1363 1364 1365 1366 Reschke [Page 24]1367 1368 1369 Documentation RFC2629 through XSLT March 20081370 1371 1378 1372 1379 o x:fixed-section-number can be used to specify a fixed section … … 1374 1381 that used a different numbering style. 1375 1382 1376 10.1 8. Extensions to Xml2rfc <xref> element1383 10.19. Extensions to Xml2rfc <xref> element 1377 1384 1378 1385 Three extension attributes are allowed on the standard <xref> … … 1414 1421 1415 1422 1416 1417 1418 1419 1420 1421 1422 1423 1423 Reschke [Page 25] 1424 1424 1425 1425 1426 Documentation RFC2629 through XSLT March20081426 Documentation RFC2629 through XSLT April 2008 1427 1427 1428 1428 … … 1481 1481 1482 1482 1483 Documentation RFC2629 through XSLT March20081483 Documentation RFC2629 through XSLT April 2008 1484 1484 1485 1485 … … 1538 1538 1539 1539 1540 Documentation RFC2629 through XSLT March20081540 Documentation RFC2629 through XSLT April 2008 1541 1541 1542 1542 … … 1595 1595 1596 1596 1597 Documentation RFC2629 through XSLT March20081597 Documentation RFC2629 through XSLT April 2008 1598 1598 1599 1599 … … 1652 1652 1653 1653 1654 Documentation RFC2629 through XSLT March20081654 Documentation RFC2629 through XSLT April 2008 1655 1655 1656 1656 … … 1709 1709 1710 1710 1711 Documentation RFC2629 through XSLT March20081711 Documentation RFC2629 through XSLT April 2008 1712 1712 1713 1713 … … 1766 1766 1767 1767 1768 Documentation RFC2629 through XSLT March20081768 Documentation RFC2629 through XSLT April 2008 1769 1769 1770 1770 … … 1823 1823 1824 1824 1825 Documentation RFC2629 through XSLT March20081825 Documentation RFC2629 through XSLT April 2008 1826 1826 1827 1827 … … 1880 1880 1881 1881 1882 Documentation RFC2629 through XSLT March20081882 Documentation RFC2629 through XSLT April 2008 1883 1883 1884 1884 … … 1937 1937 1938 1938 1939 Documentation RFC2629 through XSLT March20081939 Documentation RFC2629 through XSLT April 2008 1940 1940 1941 1941 … … 1950 1950 | x_h 1951 1951 | x_q 1952 | x_ref)* 1952 | x_ref 1953 | x_sup)* 1953 1954 } 1954 1955 } 1955 1956 1956 # Extend attribute set for <iref> (see Section 10.1 5)1957 # Extend attribute set for <iref> (see Section 10.16) 1957 1958 attlist.iref &= 1958 1959 attribute x:for-anchor { ATEXT }? 1959 1960 1960 # Extend attribute set for <list> (see Section 10.1 6)1961 # Extend attribute set for <list> (see Section 10.17) 1961 1962 attlist.list &= 1962 1963 attribute x:indent { ATEXT }? … … 1970 1971 attribute grddl:transformation { ATEXT }? 1971 1972 1972 # Extend attribute set for <section> (see Section 10.1 7)1973 # Extend attribute set for <section> (see Section 10.18) 1973 1974 attlist.section &= 1974 1975 attribute x:fixed-section-number { ATEXT }? … … 1978 1979 attribute anchor { xsd:ID }? 1979 1980 1980 # Extend attribute set for <xref> (see Section 10.1 8)1981 # Extend attribute set for <xref> (see Section 10.19) 1981 1982 attlist.xref &= 1982 1983 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | … … 1987 1988 # Aliasing of anchors (see Section 10.1) 1988 1989 x_anchor-alias = 1990 1991 1992 1993 Reschke [Page 35] 1994 1995 1996 Documentation RFC2629 through XSLT April 2008 1997 1998 1989 1999 element x:anchor-alias { 1990 1991 1992 1993 Reschke [Page 35]1994 1995 1996 Documentation RFC2629 through XSLT March 20081997 1998 1999 2000 attribute value { TEXT }, 2000 2001 empty … … 2044 2045 | "RECOMMENDED" 2045 2046 | "REQUIRED" 2047 2048 2049 2050 Reschke [Page 36] 2051 2052 2053 Documentation RFC2629 through XSLT April 2008 2054 2055 2046 2056 | "SHALL" 2047 2048 2049 2050 Reschke [Page 36]2051 2052 2053 Documentation RFC2629 through XSLT March 20082054 2055 2056 2057 | "SHALL NOT" 2057 2058 | "SHOULD" … … 2101 2102 # Link (see Section 10.10) 2102 2103 x_link = 2104 2105 2106 2107 Reschke [Page 37] 2108 2109 2110 Documentation RFC2629 through XSLT April 2008 2111 2112 2103 2113 element x:link { 2104 2105 2106 2107 Reschke [Page 37]2108 2109 2110 Documentation RFC2629 through XSLT March 20082111 2112 2113 2114 attribute href { URI }, 2114 2115 attribute title { TEXT }?, … … 2145 2146 } 2146 2147 2148 # superscript (see Section 10.15) 2149 x_sup = 2150 element x:sup { 2151 TEXT 2152 } 2153 2147 2154 # Inline Span 2148 2155 x_span = … … 2152 2159 } 2153 2160 2161 2162 2163 2164 Reschke [Page 38] 2165 2166 2167 Documentation RFC2629 through XSLT April 2008 2168 2169 2154 2170 # Nop (for alignment in source) 2155 2171 x_x = … … 2162 2178 2163 2179 2164 Reschke [Page 38] 2165 2166 2167 Documentation RFC2629 through XSLT March 2008 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 Reschke [Page 39] 2222 2223 2224 Documentation RFC2629 through XSLT April 2008 2168 2225 2169 2226 … … 2219 2276 2220 2277 2221 Reschke [Page 39]2222 2223 2224 Documentation RFC2629 through XSLT March20082278 Reschke [Page 40] 2279 2280 2281 Documentation RFC2629 through XSLT April 2008 2225 2282 2226 2283 … … 2276 2333 2277 2334 2278 Reschke [Page 4 0]2279 2280 2281 Documentation RFC2629 through XSLT March20082335 Reschke [Page 41] 2336 2337 2338 Documentation RFC2629 through XSLT April 2008 2282 2339 2283 2340 … … 2333 2390 2334 2391 2335 Reschke [Page 4 1]2336 2337 2338 Documentation RFC2629 through XSLT March20082392 Reschke [Page 42] 2393 2394 2395 Documentation RFC2629 through XSLT April 2008 2339 2396 2340 2397 … … 2390 2447 2391 2448 2392 Reschke [Page 4 2]2393 2394 2395 Documentation RFC2629 through XSLT March20082449 Reschke [Page 43] 2450 2451 2452 Documentation RFC2629 through XSLT April 2008 2396 2453 2397 2454 … … 2447 2504 2448 2505 2449 Reschke [Page 4 3]2450 2451 2452 Documentation RFC2629 through XSLT March20082506 Reschke [Page 44] 2507 2508 2509 Documentation RFC2629 through XSLT April 2008 2453 2510 2454 2511 … … 2504 2561 2505 2562 2506 Reschke [Page 4 4]2507 2508 2509 Documentation RFC2629 through XSLT March20082563 Reschke [Page 45] 2564 2565 2566 Documentation RFC2629 through XSLT April 2008 2510 2567 2511 2568 … … 2561 2618 2562 2619 2563 Reschke [Page 4 5]2564 2565 2566 Documentation RFC2629 through XSLT March20082620 Reschke [Page 46] 2621 2622 2623 Documentation RFC2629 through XSLT April 2008 2567 2624 2568 2625 … … 2618 2675 2619 2676 2620 Reschke [Page 4 6]2621 2622 2623 Documentation RFC2629 through XSLT March20082677 Reschke [Page 47] 2678 2679 2680 Documentation RFC2629 through XSLT April 2008 2624 2681 2625 2682 … … 2675 2732 2676 2733 2677 Reschke [Page 4 7]2678 2679 2680 Documentation RFC2629 through XSLT March20082734 Reschke [Page 48] 2735 2736 2737 Documentation RFC2629 through XSLT April 2008 2681 2738 2682 2739 … … 2732 2789 2733 2790 2734 Reschke [Page 4 8]2735 2736 2737 Documentation RFC2629 through XSLT March20082791 Reschke [Page 49] 2792 2793 2794 Documentation RFC2629 through XSLT April 2008 2738 2795 2739 2796 … … 2789 2846 2790 2847 2791 Reschke [Page 49]2792 2793 2794 Documentation RFC2629 through XSLT March20082848 Reschke [Page 50] 2849 2850 2851 Documentation RFC2629 through XSLT April 2008 2795 2852 2796 2853 … … 2846 2903 2847 2904 2848 Reschke [Page 5 0]2849 2850 2851 Documentation RFC2629 through XSLT March20082905 Reschke [Page 51] 2906 2907 2908 Documentation RFC2629 through XSLT April 2008 2852 2909 2853 2910 … … 2903 2960 2904 2961 2905 Reschke [Page 5 1]2906 2907 2908 Documentation RFC2629 through XSLT March20082962 Reschke [Page 52] 2963 2964 2965 Documentation RFC2629 through XSLT April 2008 2909 2966 2910 2967 … … 2933 2990 resulting in obsolete text being inserted into IDs. 2934 2991 2992 2008-04-01 Add support for superscript element. 2993 2935 2994 D.6. rfc2629toFO.xslt 2936 2995 … … 2958 3017 2959 3018 2960 2961 2962 Reschke [Page 52] 2963 2964 2965 Documentation RFC2629 through XSLT March 2008 3019 Reschke [Page 53] 3020 3021 3022 Documentation RFC2629 through XSLT April 2008 2966 3023 2967 3024 … … 3008 3065 2006-06-02 Use XSL 1.1 WD Feb 2006. 3009 3066 3010 D.9. xsl11toXep.xslt 3011 3012 3013 3014 3015 3016 3017 3018 3019 Reschke [Page 53] 3020 3021 3022 Documentation RFC2629 through XSLT March 2008 3023 3067 D.9. xsl11toFop-0.93.xslt 3068 3069 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54] 3077 3078 3079 Documentation RFC2629 through XSLT April 2008 3080 3081 3082 2008-03-15 Add a workaround to the fo:inline workaround (sigh). 3083 3084 D.10. xsl11toXep.xslt 3024 3085 3025 3086 2004-05-17 Initial release. … … 3070 3131 3071 3132 3072 3073 3074 3075 3076 Reschke [Page 54] 3077 3078 3079 Documentation RFC2629 through XSLT March 2008 3133 Reschke [Page 55] 3134 3135 3136 Documentation RFC2629 through XSLT April 2008 3080 3137 3081 3138 … … 3131 3188 3132 3189 3133 Reschke [Page 5 5]3134 3135 3136 Documentation RFC2629 through XSLT March20083190 Reschke [Page 56] 3191 3192 3193 Documentation RFC2629 through XSLT April 2008 3137 3194 3138 3195 … … 3166 3223 source 24, 32 3167 3224 span 32 3225 sup 24, 32 3168 3226 x 32 3169 3227 … … 3184 3242 HTML LINK elements 3185 3243 alternate 15 3244 3245 3246 3247 Reschke [Page 57] 3248 3249 3250 Documentation RFC2629 through XSLT April 2008 3251 3252 3186 3253 appendix 15 3187 3188 3189 3190 Reschke [Page 56]3191 3192 3193 Documentation RFC2629 through XSLT March 20083194 3195 3196 3254 author 15 3197 3255 chapter 15 … … 3241 3299 P 3242 3300 Parameters 3301 3302 3303 3304 Reschke [Page 58] 3305 3306 3307 Documentation RFC2629 through XSLT April 2008 3308 3309 3243 3310 xml2rfc-background 6 3244 3245 3246 3247 Reschke [Page 57]3248 3249 3250 Documentation RFC2629 through XSLT March 20083251 3252 3253 3311 xml2rfc-comments 6 3254 3312 xml2rfc-compact 6 … … 3298 3356 subcompact 7 3299 3357 support-rfc2731 8 3358 3359 3360 3361 Reschke [Page 59] 3362 3363 3364 Documentation RFC2629 through XSLT April 2008 3365 3366 3300 3367 symrefs 6 3301 3302 3303 3304 Reschke [Page 58]3305 3306 3307 Documentation RFC2629 through XSLT March 20083308 3309 3310 3368 toc 6 3311 3369 tocdepth 6 … … 3351 3409 strict PI pseudo-attribute 7 3352 3410 subcompact PI pseudo-attribute 7 3411 sup Extension Element 24, 32 3353 3412 support-rfc2731 PI pseudo-attribute 8 3354 3413 symrefs PI pseudo-attribute 6 3355 3414 3415 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT April 2008 3422 3423 3356 3424 T 3357 3425 toc PI pseudo-attribute 6 3358 3359 3360 3361 Reschke [Page 59]3362 3363 3364 Documentation RFC2629 through XSLT March 20083365 3366 3367 3426 tocdepth PI pseudo-attribute 6 3368 3427 tocindent PI pseudo-attribute 7 … … 3414 3473 3415 3474 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT March 2008 3475 Reschke [Page 61] 3476 3477 3478 Documentation RFC2629 through XSLT April 2008 3422 3479 3423 3480 … … 3473 3530 3474 3531 3475 Reschke [Page 6 1]3476 3477 3532 Reschke [Page 62] 3533 3534
Note: See TracChangeset
for help on using the changeset viewer.