Subject: AW: [xsl] <xsl:template match="*"/> From: Markus Abt <abt@xxxxxxxx> Date: Thu, 17 Jul 2003 19:09:15 +0200 |
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@xxxxxxxxxxxxxxxxxxxxxx' 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Number of records..., Tengshe, Ashish | Thread | [xsl] xslt code beautifier?, Ming Yu |
Re: [xsl] xsl for two type of docum, David Carlisle | Date | RE: [xsl] <xsl:template match="*"/>, Holk, David A |
Month |