|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <xsl:element> and literal elements
Hi there,
Wendell Piez wrote: At 06:31 PM 5/25/2006, you wrote: I'd be curious if people on this list have opinions on whether or not they've come up with rules for when to use literal result elements and when to use xsl:element.
<xsl:template match="xml_blah"> <html_blah /> </xsl:template> resulted in this output: <html_blah /> while this: <xsl:template match="xml_blah"> <xsl:element name="html_blah" /> </xsl:template> resulted in this: <html_blah /> I use <xsl:element and <xsl:attribute wherever I can, and I've never noticed any real impact on speed (although most of my slower stylesheets are slow because of lots of looping and recursion, rather than because I'm not using literal elements. Cheers, Martin
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|







