forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Koberg" <...@koberg.com>
Subject RE: [RT] Is speed slow because we use the document() function for skinconf?
Date Fri, 24 Oct 2003 09:18:33 GMT
Hi,

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Nicola Ken Barozzi
> Sent: Thursday, October 23, 2003 11:50 PM
> To: forrest-dev@xml.apache.org
> 
> 
> A note to myself & others: maybe using the document() function in
> stylesheets means that every call parses skinconf.xml...

In the same transformation, no. Even if you have two:

<xsl:apply-templates select="document('something')/root/folder"/>
And 
<xsl:apply-templates select="document('something')/root/page"/>

The xml is parsed/brought-into the transformation only once.

-Rob

> 
> --
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------


Mime
View raw message