This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
What if you don't know in advance how many layers there are in advance in, say, a TIFF image, and want to print them all as separate pages in your FO document? [taken from "Design Considerations" draft]
I would suggest this has to be done in advance, outside of XSL-FO, for example in XSLT. In that case you would need to rely on extensions. A way we implement this is by allowing a document() call to load a PDF or TIFF file as it it loads an XML with an element per page (with some @attributes. This info can then be used in XSLT to build the right XSL-FO structure for this, as some use cases require you to include them as inline pictures, and other as full screen images, etc...