You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Konstantin Piroumian <KP...@flagship.ru> on 2000/11/02 09:49:38 UTC

Whitespace nodes

Hi!

I have noticed that in the generated code there is a lot of such things:

    xspCurrentNode.appendChild(
      document.createTextNode("\n\t\t\t\t\t}\n\t\t\t\t\t")
    );

Is there a way to exclude whitespace-only nodes from the generated Java
code?
I know, that it can be done with XSL (<xsl:strip-space ...>), but how can I
do it in XSP without an additional logicsheet?

Regards,
  Konstantin Piroumian
Software developer

Protek Flgaship LLC
Email: kpiroumian@flagship.ru