On Thu, Aug 31, 2000 at 12:12:34PM -0400, Joseph M. Reagle Jr. wrote:
> The following is incorrect processing:
> *snip!*

I don't think so...
What do you think is wrong with it?

The output method is implicitly "html", because your
top-level element is <html/>, and so the 'indent'
attribute takes on its default value of "yes".

That means that the XSL processor is free to
add or remove whitespace in order to produce
its output. There is *no* guarantee that different
implementations will do this in the same way.

If you need the output to be identical regardless
of which processor you use, then you must specify
    <xsl:output method="html" indent="no"/>

Otherwise the output will be the same _considered as HTML_, but
not necessarily char for char.

See http://www.w3.org/TR/xslt#section-HTML-Output-Method
for a thorough explanation of all this.

 .robin.

-- 
This space intentionally left blank

Reply via email to