Jeremias Maerki,J.Pietschmann and
Chaumette Patrick Thanks a lot for your valuable
replys.I'm clear now.
--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: >
Balaji Loganathan wrote:
> > Hi,
> > Is there is any best practice for coding the
> > that is always
> > 1. use xsl:template
> > 2. check whether the element exist or not even
> > mandatory elements.
> > My xsl is of 578 lines,Suddenly i felt that my
> > is not object oriented beacuse no where i have
> > xsl:template.
> > I construct the PDF line after line.Does this
> > the processing speed.
> > Does using xsl:template increases the processing
> > speed.
> > Please comment.
> For a start, you should be aware that you actually
> for coding XSLT, not XSLFO. They aren't the same
> at all, even though they are usually used toghether.
> Another hint: using xsl:template has nothing to do
> object orientation. XSLT is mainly a declarative
> the concept of object orientatitation is only
> for advanced topics. However, using xsl:template
> makes transformations more robust, flexible, modular
> easier to maintain.
> Regarding performance, using xsl:template will not
> processing speed. It will be slightly slower due to
> overhead, however, processors are specifically
> optimized for
> doing this, so there is no measurable performance
> loss from
> using xsl:template unless you have literally
> thousands of
> templates or hundreds of very badly designed
http://messenger.yahoo.com.au - Yahoo! Messenger
- A great way to communicate long-distance for FREE!