Not to my understanding ... one would have to omit the template content to
truly hide the element and have nothing at all displayed.
>Thus
><greeting>Hello XSL!</greeting>
>
><xsl:stlesheet>
> <xsl:template match="greeting">
> <fo:block font-size="16pt">
> <process-children/>
> </fo:block>
> </xsl:template>
></xsl:stlesheet>
>
> would result in a styled text flow object, "Hello XSL!"
>
>whereas:
>
><xsl:template match="greeting">
> <fo:block font-size="16pt">
> <!--<process-children/>-->
> </fo:block>
></xsl:template>
>
>would not.
But your example above would, I think, produce a 16pt high paragraph block
from the formatter. Thus, though the characters of the content are hidden,
the presence of the <greeting> element would still be visible.
I would use the following to completely hide the element.
<xsl:template match="greeting"/>
I hope this helps.
.............. Ken
p.s. As Paul pointed out, this should be discussed on the XSL-List
(http://www.mulberrytech.com/xsl/xsl-list) ... I answered here since the
thread was started here.
-- G. Ken Holman mailto:gkholman@CanadaMail.com Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/ Box 266, V: +1(613)489-0999 Kars, Ontario CANADA K0A-2E0 F: +1(613)489-0995 Training: http://www.CraneSoftwrights.com/x/schedule.htm Resources: http://www.CraneSoftwrights.com/x/resources.htm Shareware: http://www.CraneSoftwrights.com/x/shareware.htm