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

Indent extension in Saxon?

Subject: Indent extension in Saxon?
From: "Gustaf Liljegren" <gustaf.liljegren@xxxxxx>
Date: Fri, 8 Jun 2001 15:58:47 +0200
saxon indent
I wasn't sure if XSLT would allow an integer instead of "yes" or "no" when
specifying the indent attribute in <xsl:output>. This would be useful to us
that prefer 2 indents instead of 3 or whatever the XSLT implementor chooses.
Anyway, the spec is not this liberal:

indent = "yes" | "no"

Can't be so hard to implement, so I don't understand this limitation.
Acctually, an integer *instead* of yes|no makes more sence to me. But I
tried anyway, to see if the two major implementors have added this as an
extension. Here's what I tried:

  <xsl:output method="xml" indent="2" encoding="iso-8859-1"/>

Xalan says:

  Value for indent should equal 'yes' or 'no'

Saxon says:

  indent must be yes or no or an integer
  Transformation failed

Could it be an extension that is planned but not yet implemented?

Regards,

Gustaf Liljegren



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.