Re: Included stylesheet not inheriting expand-text setting

Michael Kay <[email protected]> Sun, 24 Oct 2021 14:45:47 +0100
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
Correct. Section 3.4 of the spec says:

<quote>
These attributes all affect the element they appear on, together with any elements and attributes that have that element as an ancestor. 

...

Note that the effect of these attributes does not extend to stylesheet modules referenced by xsl:include or xsl:import declarations, nor to packages referenced using xsl:use-package.
</quote>

Michael Kay
Saxonica

> On 24 Oct 2021, at 13:40, Ihe Onwuka <[email protected]> wrote:
> 
> I have found that text expansion does not work on included code if it's not set on the included stylesheet  even if it is set on the including stylesheet.
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/saxon-help