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

Re: Streamlining XSL and transform performance (how do

Subject: Re: Streamlining XSL and transform performance (how does it actually work?)
From: Julian Voelcker <asp@xxxxxxx>
Date: Fri, 19 Mar 2004 16:30:02 GMT
tran.transform
Hi Kimberly,

Thanks for the help, this list is fantastic!

> Just a suggestion, but I found that when dealing with large files, if I
> kept the XML element names as small as possible it was faster in terms
> of XML file download across a network or over the internet.

Unfortunately I have no control over the XML file, but it is all being 
run on a local machine, so network performance isn't an issue.

OK, a couple more questions if you can bear it...

Where we have..

<XSL:template match="AnswerSet">
        <xsl:apply-templates select="Answer[@name='ticdesc']"/>
</xsl:template>
<xsl:template match="Answer[@name='ticdesc']">
        <p><xsl:value-of select="TextValue"/></p>
</xsl:template>>

There are going to be a lot of instances when I want to be able to 
'extract' a specific value like the value of ticdesc.  Is there any way 
of making the template more versatile so that the name ticdesc is passed 
to is when the template is applied?

Also, going along the same lines, is it possible to set and read 
variables within the XSL file?

Thanks again for all the help.
-- 
Cheers,

Julian Voelcker
United Kingdom



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.