Re: [xsl] How to avoid adding defaulted attributes

Subject: Re: [xsl] How to avoid adding defaulted attributes
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 10 Jan 2014 08:16:21 +0000
On 10 Jan 2014, at 01:48, Martin Holmes <mholmes@xxxxxxx> wrote:

> If you're using Oxygen, you can go in the Preferences to
>
> XML / XSLT-FO-XQuery / XSLT / Saxon / Saxon-HE/PE/EE
>
> and turn off the option "Expand attribute defaults". I think that solves
it.
>

The equivalent from the command line is -expand:off, and from the various APIs
you can use FeatureKeys.EXPAND_ATTRIBUTE_DEFAULTS.

Michael Kay
Saxonica

Current Thread