Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Extension object vs

From: "Oleg Tkachenko [MVP]" <some@----.--->
To: NULL
Date: 12/6/2007 10:55:00 AM

Yes, but on the other hand extension objects are called via reflection 
(they are not available at XSLT compile time hence late binding), while 
extension script once compiler is called directly and so usually run 
faster than extension objects.
So it's a trade of.

-- 
Oleg Tkachenko [XML MVP, MCPD]
http://www.tkachenko.com/blog | http://www.XmlLab.Net

Dimitre Novatchev wrote:
> The use of extension objects is recommended. Embedded scripts have to be 
> compiled dynamically into executable code and this may result in not freeing 
> their memory.
> 
> For examples see the MSDN help.
> 
> Cheers,
> Dimitre Novatchev
> "Sampat" <sampatdixit@g...> wrote in message 
> news:0b88bc88-d00b-4415-9290-2f5c4447d357@a......
>> Hi,
>>  I have a requirement where in I need to call some custom .Net method
>> from my XSLT. Just wanted to know which one performs better
>> 1. Using extension objects
>> 2. Using <msxsl:script> within xslt.
>>
>> Any inputs with some code samples would be helpful.
>>
>> Thanks,
>> Sampat. 
> 
> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent