>
> - handle the processing instruction by serializing
> straight XML for those browsers that do support it, and process on the
> server for others.
>
great idea !
>>By extension, why not having an XSLGenerator and an XSLReader ?
>>
>>
>
> Hmm... you're starting to build pipelines-in-one-component. This doesn't
> seem to have the same kind of benefits than the serializer.
>
Right, i thought that for simple pipelines that are only
generator + xslt transformer + xml serializer
would be more readable, but i'm not convinced in fact. As i must use the
sourceResolver here, there's no obvious benefit over
For the precompiled xslt, it's better perhaps to modify the TraxTransformer
to cache the Templates object.
For the generator, i think that the use must be limited to simplified
stylesheets. Xsl try to be a template and a transform language (the root of
the stylesheet itself can be or ). For
templating, sometimes you don't need an input document, so you generally do
...
i would prefer here
that way, the difference between templating and transforming xsl appear soon
on the sitemap side, and because there's no xslt attribute, bad habits are
not possible.
Regards.