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

Re: Problems with <xsl:template match...> in style she

Subject: Re: Problems with <xsl:template match...> in style sheet
From: "Joerg Heinicke" <joerg.heinicke@xxxxxx>
Date: Fri, 25 Jan 2002 20:57:08 +0100
xsl match problems
In a stylesheet there are always built-in templates, which output the text
of <DATA_SET1>. To avoid this add an empty template <xsl:template



----- Original Message -----
From: "Magick, Brian" <Brian.Magick@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, January 25, 2002 8:34 PM
Subject:  Problems with <xsl:template match...> in style sheet

> I'm applying a style sheet to an XML file that contains the following
> hierarchy:
> <DATA>
> <DATA>
> <DATA>
> ......
> <DATA>
> <DATA>
> <DATA>
> The style sheet outputs the DATA_SET2 node and formats it into tables.
> At the beginning of the template I use <xsl:template match="DATA_SET2">
> to get the second data set, and the ouput formats correctly into the
> tables and rows, BUT, the stylesheet is also "throwing up" the entire
> DATA_SET1 as text only right before the DATA_SET2 tables begin.
> This is strange behavior that I cannot explain.  I've tried changing the
> match parameters to "DOCUMENT/DATA_SET2" and it still spits out the
> entire DATA_SET1 before it formats my DATA_SET2 into tables and rows.
> Any suggestions?
> Brian Magick

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.