[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

AW: <xsl:template match="*"/>

Subject: AW: <xsl:template match="*"/>
From: Markus Abt <abt@xxxxxxxx>
Date: Thu, 17 Jul 2003 19:09:15 +0200
stability protocol template
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: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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.