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

Re: Xalan to transform only selected elements of XML

Subject: Re: Xalan to transform only selected elements of XML
From: Morten Primdahl <morten@xxxxxxxxx>
Date: Tue, 30 May 2000 21:56:11 +0200 (CEST)
Re: Xalan to transform only selected elements of XML
> I have XML with a few elements. When I am applying a 
> .XSL file for transformation, I want to remove a few
> elements. In other words, I want only some of the
> elements of XML to get transformmed. It seems that
> even *with* and *without* following lines in .XSL file
> <xsl:template match="/">
>    <xsl:apply-templates/>
> </xsl:template>
> the value of all the elements are getting transformeed
> into resulting transformmed file. So the question is:
> Using Xalan how can I transform only selected elements
> and not all?

You'll need 'blank' templates for the tags you want
to filter out. Eg.

<xsl:template match="begone"/>

Morten

> I would appreciate any quick help and/or work around.
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.