xsl-list
[Top] [All Lists]

Re: [xsl] Why aren't ENTITY declarations in a main stylesheet visible in the included stylesheets?

2022-06-02 06:19:15

I thought that an xs:include is essentially a "macro substitution", in which 
case the entity declaration should be visible, yes?


No, each stylesheet module is parsed independently using a standard XML parser. 
Entity expansion is done by the XML parser, which has no knowledge of XSLT and 
no interest in xsl:include or xsl:import elements.

Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--


<Prev in Thread] Current Thread [Next in Thread>