Project

Profile

Help

Controlling indenting space

Added by Anonymous over 18 years ago

Legacy ID: #3422494 Legacy Poster: McKnight (mc_knight)

How do you control the indent space count with XSLT 2.0 using saxon 8.6? The default appears to be 3 spaces. In previous version of saxon, there was an extension called saxon:indent-spaces, but in version 8 it no longer works. This document, http://saxon.sourceforge.net/saxon6.5.4/extensions.html, says that many of these extensions are no longer needed under XSLT 2.0, and have been dropped from Saxon 8.x. Therefore, what is the XSLT 2.0/saxon8 way to control indent space on xsl:output?


Replies (2)

RE: Controlling indenting space - Added by Anonymous over 18 years ago

Legacy ID: #3422706 Legacy Poster: Michael Kay (mhkay)

saxon:indent-spaces is still there: see http://www.saxonica.com/documentation/extensions/output-extras/indent-spaces.html Perhaps you got the namespace wrong? Every since Saxon 7.1 it has been http://saxon.sf.net/ Michael Kay

RE: Controlling indenting space - Added by Anonymous over 18 years ago

Legacy ID: #3422806 Legacy Poster: McKnight (mc_knight)

Yeah, you were right. Turns out I was using an old namespace. Thanks for your quick response!

    (1-2/2)

    Please register to reply