You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

normal.fo 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  3. <!-- defines page layout -->
  4. <fo:layout-master-set>
  5. <!-- layout for the first page -->
  6. <fo:simple-page-master page-master-name="first"
  7. height="29.7cm"
  8. width="21cm"
  9. margin-top="1cm"
  10. margin-bottom="2cm"
  11. margin-left="2.5cm"
  12. margin-right="2.5cm">
  13. <fo:region-before extent="3cm"/>
  14. <fo:region-body margin-top="3cm"/>
  15. <fo:region-after extent="1.5cm"/>
  16. </fo:simple-page-master>
  17. <!-- layout for the other pages -->
  18. <fo:simple-page-master page-master-name="rest"
  19. height="29.7cm"
  20. width="21cm"
  21. margin-top="1cm"
  22. margin-bottom="2cm"
  23. margin-left="2.5cm"
  24. margin-right="2.5cm">
  25. <fo:region-before extent="2.5cm"/>
  26. <fo:region-body margin-top="2.5cm"/>
  27. <fo:region-after extent="1.5cm"/>
  28. </fo:simple-page-master>
  29. </fo:layout-master-set>
  30. <!-- end: defines page layout -->
  31. <!-- actual layout -->
  32. <fo:page-sequence>
  33. <!-- usage of page layout -->
  34. <fo:sequence-specification>
  35. <fo:sequence-specifier-repeating page-master-first="first"
  36. page-master-repeating="rest"/>
  37. </fo:sequence-specification>
  38. <!-- header -->
  39. <fo:static-content flow-name="xsl-before">
  40. <fo:block text-align="end"
  41. font-size="10pt"
  42. font-family="serif"
  43. line-height="14pt" >
  44. XML Recommendation - p. <fo:page-number/>
  45. </fo:block>
  46. </fo:static-content>
  47. <fo:flow flow-name="xsl-body">
  48. <!-- defines text title level 1-->
  49. <fo:block font-size="18pt"
  50. font-family="sans-serif"
  51. line-height="24pt"
  52. space-after.optimum="15pt"
  53. background-color="blue"
  54. color="white"
  55. text-align="centered"
  56. padding-top="3pt">
  57. Extensible Markup Language (XML) 1.0
  58. </fo:block>
  59. <!-- defines text title level 2-->
  60. <fo:block font-size="16pt"
  61. font-family="sans-serif"
  62. line-height="20pt"
  63. space-before.optimum="10pt"
  64. space-after.optimum="10pt"
  65. text-align="start"
  66. padding-top="3pt">
  67. Abstract
  68. </fo:block>
  69. <!-- Normal text -->
  70. <fo:block font-size="12pt"
  71. font-family="sans-serif"
  72. line-height="15pt"
  73. space-after.optimum="3pt"
  74. text-align="start">
  75. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  76. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  77. has been designed for ease of implementation and for interoperability with both SGML and HTML.
  78. </fo:block>
  79. <!-- defines text title level 2-->
  80. <fo:block font-size="16pt"
  81. font-family="sans-serif"
  82. line-height="20pt"
  83. space-before.optimum="10pt"
  84. space-after.optimum="10pt"
  85. text-align="start"
  86. padding-top="3pt">
  87. Status of this document
  88. </fo:block>
  89. <!-- Normal text -->
  90. <fo:block font-size="12pt"
  91. font-family="sans-serif"
  92. line-height="15pt"
  93. space-after.optimum="3pt"
  94. text-align="start">
  95. This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a
  96. W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from
  97. another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its
  98. widespread deployment. This enhances the functionality and interoperability of the Web.
  99. </fo:block>
  100. <!-- Normal text -->
  101. <fo:block font-size="12pt"
  102. font-family="sans-serif"
  103. line-height="15pt"
  104. space-after.optimum="3pt"
  105. text-align="start">
  106. This document specifies a syntax created by subsetting an existing, widely used international text processing standard
  107. (Standard Generalized Markup Language, ISO 8879:1986(E) as amended and corrected) for use on the World Wide Web. It
  108. is a product of the W3C XML Activity, details of which can be found at http://www.w3.org/XML. A list of current W3C
  109. Recommendations and other technical documents can be found at http://www.w3.org/TR.
  110. </fo:block>
  111. </fo:flow>
  112. </fo:page-sequence>
  113. </fo:root>