![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Adding extension elements to XSL using addObject >Thread Next - Re: Adding extension elements to XSL using addObject Re: Adding extension elements to XSL using addObjectTo: NULL Date: 8/2/2006 3:06:00 PM SadSac wrote: > I would also like to point you to an article written by Aaron Skonnard for > MSDN magazine in March 2002. > > See: http://msdn.microsoft.com/msdnmag/issues/02/03/xml/ > > "The XSLT 1.0 specification defines two types of extensions: extension > elements and extension functions. Both types of extensions provide additional > functionality to the standard language and can be used like any other XSLT > 1.0 element (these include xsl:transform, xsl:template, xsl:value-of, and so > on) or XPath 1.0/XSLT 1.0 function (such as string, substring-before, sum, > document, and so forth)." Well I have not said that XSLT specification does not allow for extension elements, only that MSXML does not allow you to implement your own. And that article does not in any way claim or show otherwise. Instead it shows in more details what we already talked about, extension functions implemented with msxsl:script and extension object passed in with addObject. > Curiously he also describes a mechanism for > getting and setting properties. > > "Properties are accessed in XSLT by prefixing the property name with either > get- or put- followed by parentheses. eg. get-age(), put-age(33)" > > I got the property get- working fine, but I have not been able to get the > property put- funtion right. At least one other article talks of set- rather > than put- and Microsoft documentation only ever mentions the get- method. I have not used that put stuff so I currently don't know whether it works with some versions of MSXML. Might try later. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
