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

Re: XSL omit part of a text inside TAG

Subject: Re: XSL omit part of a text inside TAG
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Fri, 7 Mar 2008 19:14:31 +0530
Re:  XSL omit part of a text inside TAG
Please see my remarks below ...

On Fri, Mar 7, 2008 at 5:03 PM, David Carlisle <davidc@xxxxxxxxx> wrote:
> <xsl:template match="/">
>  <xsl:apply-templates select="*"/>
> </xsl:template>

I think we can avoid this template. The built in rule for root node
can take care of this.

> <xsl:template match="VisualObject[@xsi:type='CBarCode']/FontFace">
>  <xsl:copy>
>    <xsl:call-template name="while">
>      <xsl:with-param name="foo" select="."/>
>    </xsl:call-template>
>  </xsl:copy>
> </xsl:template>

I think this is better design. By this way, you can reduce the
(cyclomatic) complexity of the code, and make the code easily

Mukul Gandhi

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.