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

Re: keeping source element after template applied?

Subject: Re: keeping source element after template applied?
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Wed, 04 Dec 2002 08:58:17 -0500
applied templates
Kevin Del wrote:
Hi,

I have a document in which I'd like some elements to remain intact, after I've applied a transformation template to them.

The reason is that there's more than transformation that has to be made, by other matching templates, to this element before it can be removed.

I want to do:

xsl template match="myElement"
do one complex thing

xsl template match="myElement"
do another complex thing, and let element be removed

I'm not seeing any provision for this, is there a way to do so?



Try: <xsl:template match="myElement"> <xsl:call-template name="do first thing"/> <xsl:call-template name="do second thing"/> </xsl:template>

Also, see Wendell's reply. You have some confusion in your understanding and/or terminology.

--
--------------------------
Jeff Kenton
DataPower Technology, Inc.



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.