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

Re: Selecting only one element using templates

Subject: Re: Selecting only one element using templates
From: JCS <subscriber@xxxxxxxxxxxxx>
Date: Tue, 02 Dec 2003 02:14:38 +1300
Re:  Selecting only one element using templates
On 2/12/03 1:46 AM, "Michael Kay" <mhk@xxxxxxxxx> wrote:

> 
> There is a built-in template rule for nodes that are not matched by an
> explicit template rule. This rule does a recursive apply-templates for
> element nodes, and for text nodes it outputs the content. If you want to
> override this, write a rule such as:
> 
> <xsl:template match="*"/>
> 
> Michael Kay
> 

Hi Michael,

Thanks very much for this, it's exactly what I was looking for.

/johnny :)




-- 
Hating somebody is like burning down a house to get rid of a rat.
-- unknown 


 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.