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.

basic1.fo 4.3KB

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