XSLT

There are 1 entries for the tag XSLT

AddExtensionObject and XSLT

Today i had some frustration with passing objects to XSLT using AddExtensionObject. Calling methods from XSLT worked, but not the properties. I did some googling but couldn't find the answer. It seem as if XSLT doesn't support object properties. This is such a nuisance. Update: I found a solution! It turnes out that .NET creates getter and setter methods for each property in IL. E.g. if you had a read/write property Address, the in the ILĀ  it'll have corresponding methods get_Address() and set_Address(string). So you can access property from XSLT by calling "get_[PropertyName]()" method. Tags: .NET, XML, XSLT