|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Caching while applying XSL using SAX
Hi,
In my application I'm using SAX based approach for parsing xml and
applying xsl on it. As SAX is event based, I just want to know that how
the reference in xsl, to out of context elements is resolved.
e.g.
<xsl:template
match="*[local-name(.)='Database']/*[local-name(.)='Employees']"
mode="mode1">
<xsl:variable name="refNode2"
select="../../*[local-name(.)='Departments'][*[local-name(.)='deptId'] =
$ref1]"/>
.....
</xsl:template>
In example above, how line 2 is evaluated.
Do the processor cache all the elements after and including 'Employees',
till the element 'deptId' arrives? or Even in SAX approach object model
of XML being parsed is made by the processor, to resolve the references
to element previously arrived.
Thanks,
Amrit
|
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








