WikiDer > XSL-Formatierungsobjekte

XSL Formatting Objects
XSL-Formatierungsobjekte
AutorenW3C
GrundnormenXML
AbkürzungXSL-FO
DomainWeltweites Netz
Webseitehttp://www.w3.org/TR/xsl11/
Portal  Portalsymbol  Informatik

XSL-Formatierungsobjekte oder kurz XSL-FO (oder XSLFO, oder XSLF), ist ein Auszeichnungssprache und ist Teil der XSL-Spezifikationen. XSL-FO übernimmt die Formatierung von XMLDokumente in seinem Namen.

XSL-FO ist so konzipiert, dass es mindestens alle Funktionalitäten der C.S.STechnik bereitgestellt wird. Darüber hinaus entsprechen auch XSL-FO-Dokumente selbst vollständig dem XML-Standard.

Beispiel

Das empfohlene Präfix für XSL-FO-Dokumente ist fo:, ein einfaches Beispiel für ein solches Dokument ist:

<?xml version="1.0" encoding="iso-8859-1"?><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">  <fo:layout-master-set>    <fo:simple-page-master master-name="my-page">      <fo:region-body margin="1in"/>    </fo:simple-page-master>  </fo:layout-master-set>  <fo:page-sequence master-reference="my-page">    <fo:flow flow-name="xsl-region-body">      <fo:block border-top-color="black"                 border-top-style="solid"                 border-top-width="thick"                 text-align="center">        Het musje fluit zeer uitgebreid        maar meestal tjilpen musjes.      </fo:block>    </fo:flow>  </fo:page-sequence></fo:root>