xsl-list
[Top] [All Lists]

RE: [xsl] XSLT2.0 compatibility

2006-09-05 12:21:46
In general it is quite good, but it doesn't give you control 
over formatting.  For example, it outputs 3 spaces as an 
indent.  What if I thought 2 spaces were adequate?  I cannot 
control it.

Yes you can: saxon:indent-spaces="2"

  What if I wanted double newlines after certain 
elements?  The list goes on, but this isn't Saxon's fault.

Saxon 8.8 allows you to define your own SerializerFactory which can generate
a custom serialization pipeline: any of the standard Saxon components in the
pipeline can be replaced by a subclass that modifies the behavior, or you
can include steps into the pipeline of your own devising. I'll be interested
to see what creative uses people can come up with for this flexibility.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>