Grant Robertson wrote:
Can an XML Stylesheet Language Transform take data that is spread out in
multiple different XML files and not necessarily in proper order,
rearrange that data into it's proper order and then compile all of that
into a series HTML web pages for presentation? Or would I need to write a
custom program for that kind of thing?
Use the document() function to fetch their contents.
Reordering and so on is built into XSLT.
Multiple outputs is the tricky part. Basic XSLT 1.0 doesn't do that, but
you could achieve this by running several stylesheets (or one stylesheet
with different parameters each time). The EXSLT extension library, which
many-but-not-all XSLT processors support, adds the ability to "redirect"
output to additional documents and would let you do this in a single
stylesheet execution. XSLT 2.0 adds this capability as a standard part
of the language.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry