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

Re: hiding some of the source

Subject: Re: hiding some of the source
From: Matthew MacKenzie <matt@xxxxxxxxxxxxxxx>
Date: Sun, 11 Apr 1999 17:43:59 -0300
matthew john mackenzie
John,
  Thanks, I will try that.  I am glad to hear it works with XT though,
because I will be using XT soon.

Matt

"John E. Simpson" wrote:
<*snip*>
> 
> Matt, I'm the one that asked about suppressing source-tree elements before.
> Since then, I've found that one thing that works is to establish empty
> template rules (i.e., containing only the pattern and no template) for the
> content you want to suppress. Using your above example, something like this:
> 
>         <xsl:template match="XSLCONTROL">
>         </xsl:template>
> 
>         <xsl:template match="PRODUCT">
>                 <xsl:apply-templates/> <!-- other template stuff, if any -->
>         </xsl:template>
> 
> The absence of a template for XSLCONTROL works to suppress it, and all its
> descendants, while the presence of a template for PRODUCT copies the
> contents of the PRODUCT element (and its descendants) to the result.
> 
> Btw, I'm using XT as an XSL processor. I don't know if IE5 behaves the same
> way.
> 
> ==========================================================
> John E. Simpson            | The secret of eternal youth
> simpson@xxxxxxxxxxx        | is arrested development.
> http://www.flixml.org      |  -- Alice Roosevelt Longworth
> 
>  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.