On Friday, 09/20/2002 at 04:40 AST, "Scott Moore" <[EMAIL PROTECTED]>
wrote:
>
parser.setFeature("http://apache.org/xml/features/dom/include-ignorable-whit
> espace", true);
>
> Shouldn't this remove all whitespace nodes? I do the transform directly
on
> the already parsed DOM.
That's a Xerces question rather than a Xalan question, but:
1) You said include=true, which is the opposite of what you seem to want.
2) Ignorable whitespace is a bad term. It's really "whitespace in element
content". This is only recognized if you know what is and isn't element
content -- in other words, if you have validated the document against a
DTD (or _maybe_ a schema, though schema validation tends to annotate the
Infoset rather than changing it and thus may not affect us until XSLT 2.0
adds schema awareness... and maybe not then).
______________________________________
Joe Kesselman / IBM Research