>P.S.: Is there a "nice" way to put this in one XSL?

Xalan-J comes with an extension which allows constructing XSLT pipelines
entirely from the stylesheet. See
http://xml.apache.org/xalan-j/extensionslib.html#pipedocument

This extension may not be available in other XSLT processors, so
stylesheets using it should be considered nonportable.

Reply via email to