Hello David,
Your example is extremely long, I haven't read it completely,
but most probably the modes you are using are the problem.
For example, if <xsl:apply-templates mode="page-header"/>
searches for a template for the protocol element, it uses the
given mode.
There are default templates for every mode, so if your
stylesheet doesn't contain a template like
<xsl:templates match="protocol" mode="page-header"/>
or <xsl:templates match="*" mode="page-header"/>,
the default templatee for the mode "page-header" process
the protocol subtree, which leads to the text content being
written to the result.
Regards,
Markus
__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de
----------
Von: Holk, David A
Gesendet: Donnerstag, 17. Juli 2003 18:30
An: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Betreff: RE: [xsl] <xsl:template match="*"/>
This is what I am trying to remove(unwanted text between tags) These come
from the protocol, stability-condition, and column-title elements in the
input xml:
<fo:table-body>
2001/0003
25C / 60% RH UPRIGHT
New Column 1New Column 2New Column 3<fo:table-row>
As well as similar stuff you'll see if you run the transformation.
Thanks for your help.
Here's the stylesheet:
[...]
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list