[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Didier's lab report
It should be possible for an XSLT implementation to use asynchronous retrieval of document() using variables. Say, if you had something like this <xsl:transform ....> <xsl:variable name="doc1" select="document('doc1.xml',.)"/> <xsl:variable name="doc2" select="document('doc2.xml',.)"/> <xsl:variable name="doc3" select="document('doc3.xml',.)"/> <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> ... </xsl:transform> The declaration of the variable could start the download/parsing process but not block further execution. Only when the variable was used in an expression would the template evaluation thread need to block. I do not know if any of the existing processors implement this type of behavior, however it would not seem to require any changes to XSLT to approach the performance that you estimated for XInclude.
|
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
|