[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSLT2.0 compatibility

Subject: RE: XSLT2.0 compatibility
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 5 Sep 2006 20:21:20 +0100
saxon 8.8 stylus studio
> 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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.