|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Streamlining XSL and transform performance (how do
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! 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
|

Cart








