Re: [xsl] Getting epub: namespace into root html element

Subject: Re: [xsl] Getting epub: namespace into root html element
From: "Abel Braaksma (Exselt) abel@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Jun 2014 11:51:56 -0000
Michael Kay mike@xxxxxxxxxxxx <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
woensdag 25 juni 2014 13:19


Provided that the processor is serializing the result tree. If the output is not serialized, character maps have no effect. So in practice, the interop isn't that much better than d-o-e, since nearly all cases where d-o-e doesn't work are because the processor is not serializing.

Yes, but... assuming you are serializing, character maps are supported by all XSLT 2.0 processors, while disable-output-escaping might not, regardless whether you are serializing, and even if it is supported, the way the spec is written, it seems to allow differences to exist (because of the use of "should" in that section). The way I see it: avoid d-o-e and (if possible, always) use character maps in favor of it.

Cheers,
Abel

Current Thread