This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XSL Performance



* Kay Michael
| 
| Eight tips for how to use XSLT efficiently:
| 
| 1. Keep the source documents small. If necessary split the document
| first.
| [...]
| 8. Split complex transformations into several stages.

I find these two tips interesting. What, exactly, do you mean with the
first one? Should one split big documents into several smaller pieces
and then process each piece in turn? If so, why?

Also, is the intention behind 8. to simplify the transformations and
thereby make them more efficient?

| 8. To output the text value of a simple #PCDATA element, use
|    <xsl:value-of> in preference to <xsl:apply-templates>.

I suppose using xsl:for-each instead of xsl:apply-templates is another
example of bascially the same technique.

--Lars M.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]