I’ve previously processed XSLT to output single HTML files that were supposed to be viewed in a browser.
Now I was hoping if someone could outline would it be possible to use XML data and XSLT to create separate image files auto magically?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your XSLT processor supports EXSLT, the exsl:document element will allow you to create multiple output files from a single input file.
AFAIK, only libxslt-based processors support this tag, currently, but this includes PHP 5 and, of course, xsltproc.
EDIT:
As you’ve found, XSLT 2.0 provides the similar xsl:result-document tag. The XSLT 2.0 processors I’m aware of are Saxon, Altova XML, and Gexslt/Gestalt.