Menu

xsl:output indent="no" seem to be ignored

Help
2001-07-23
2012-10-08
  • Thomas DeBruycker

    I am not able to stop the saxon processor from indenting my output.  Here is my output line:
    <xsl:output method="text" indent="no" encoding="utf-8"/>
    I also tried using saxon:indent-spaces="0".  That did not work either.  It seems that indent is ignored.  Is this a bug?

    Thanks in advance,
    Tom D.

     
    • Michael Kay

      Michael Kay - 2001-07-23

      You need to supply some evidence.

      The most likely explanation is that the whitespace in your output is copied either from the source document or from the stylesheet, and is not generated by Saxon's output indentation at all.

      Mike Kay