Hi Gandhi,
This is not clear what the exact parts to have and omit are.
Please update me
- Buddhi -
-----Original Message-----
From: Mukul Gandhi [mailto:gandhi(_dot_)mukul(_at_)gmail(_dot_)com]
Sent: Friday, March 07, 2008 7:15 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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(_at_)nag(_dot_)co(_dot_)uk> 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[(_at_)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
testable.
--
Regards,
Mukul Gandhi
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--