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

Re: Suppressing element content

Subject: Re: Suppressing element content
From: "Kirk Lowery" <empirical.humanist@xxxxxxxxx>
Date: Wed, 10 Sep 2008 17:56:18 -0400
Re:  Suppressing element content
On Wed, Sep 10, 2008 at 5:50 PM, Scott Trenda <Scott.Trenda@xxxxxxxx> wrote:
> You need to override the built-in templates. And your initial template
> is the same as the built-in template, so you don't need it.
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>        <xsl:output method="text" />
>        <xsl:template match="Node[@Cat='x']">
>                <xsl:value-of select="@Lemma" />
>        </xsl:template>
>        <xsl:template match="@*|text()" />
> </xsl:stylesheet>

That did the trick! Thanks!

Could you point me to something that explains this? There are one or
two more built-in templates, IIRC, and I'd like to get a handle on how
it works.


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.