Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the schema for XSL-FO? [closed]

Tags:

xml

xslt

xsl-fo

Does anyone know how/where to download XSL-FO 1.1 schema? I not able to find an XSL-FO 1.1 schema, so many person saying not available. Please let me know if you know where to find the schema or suggest to me how to determine validation errors.

Note: the Oxygen guy replied to me "There still is no proper schema available for XSL-FO 1.1."

like image 692
saravanan s Avatar asked Jul 04 '15 16:07

saravanan s


People also ask

Is XSL-FO still used?

XSL-FO Working Group has disbanded.

What is XSL-FO template?

XSL-FO (XSL Formatting Objects) is a markup language for XML document formatting that is most often used to generate PDF files. XSL-FO is part of XSL (Extensible Stylesheet Language), a set of W3C technologies designed for the transformation and formatting of XML data.

What is schema in XSLT?

This is a schema for XSLT 2.0 stylesheets. It defines all the elements that appear in the XSLT namespace; it also provides hooks that allow the inclusion of user-defined literal result elements, extension instructions, and top-level data elements.

What is Fo block?

Definition and Usage The <fo:block> object defines a block of output. Blocks are sequences of output in rectangular boxes. The <fo:block> object is used to format paragraphs, titles, headlines, etc.


2 Answers

There is no official XML schema for XSL-FO, but one of the following might be of use to you:

  • FOP has an XSD for XSL-FO.
  • RenderX has a DTD for XSL-FO.
like image 137
kjhughes Avatar answered Sep 30 '22 14:09

kjhughes


focheck (https://github.com/AntennaHouse/focheck) is a Relax NG schema and Schematron for XSL-FO 1.1 as well as Antenna House extensions. Releases also include a W3C XSD generated from the Relax NG plus an Oxygen add-on framework that you can download within Oxygen so you can easily validate your XSL-FO while editing.

focheck parses property value expressions using an XSLT-based parser generated by the REx parser generator plus an XSLT library for reducing the parse tree to XSL-FO datatypes.

like image 43
Tony Graham Avatar answered Sep 30 '22 14:09

Tony Graham