You are absolutely right. I had excluded the catch-all match ("*") for a
couple of the modes.
Thank you.
-----Original Message-----
From: Markus Abt [mailto:abt(_at_)comet(_dot_)de]
Sent: Thursday, July 17, 2003 1:09 PM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: AW: [xsl] <xsl:template match="*"/>
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
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be
privileged. It is intended for the addressee(s) only. Access to this E-mail by
anyone else is unauthorized. If you are not an addressee, any disclosure or
copying of the contents of this E-mail or any action taken (or not taken) in
reliance on it is unauthorized and may be unlawful. If you are not an
addressee, please inform the sender immediately.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list