Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSL-FO and XSLT

XSL-FO and XSLT


XSL-FO and XSLT can help each other.


Remember this example?

space-before="5mm" space-after="5mm">

RUNOOB

At RUNOOB you will find all the Web-building tutorials you

need, from basic HTML and XHTML to advanced XML, XSL, Multimedia and WAP.

Result:

RUNOOB

At RUNOOB you will find all the Web-building tutorials you need, from basic HTML and XHTML to advanced XML, XSL, Multimedia and WAP.

The example above comes from the chapter about XSL-FO block areas.


Help from XSLT

Remove XSL-FO information from the document:

RUNOOB

At RUNOOB you will find all the Web-building tutorials you

need, from basic HTML and XHTML to advanced XML, XSL, Multimedia and WAP.

Add an XSLT transformation:

space-before="5mm" space-after="5mm">

xsl:apply-templates/

xsl:apply-templates/

The resulting output is the same:

RUNOOB

At RUNOOB you will find all the Web-building tutorials you need, from basic HTML and XHTML to advanced XML, XSL, Multimedia and WAP.