Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - How to call another transform xsl from inside the current transform? [Thread Next] Re: How to call another transform xsl from inside the current transform?To: NULL Date: 6/26/2008 1:44:00 PM SammyBar wrote: > I'm transforming an xml document into another xml by using a xsl > transformation by using > <xsl:value-of select="root/@someAttrib" />. > My problem arises when one of the values I'm inserting in the new document > should be obtained from another xslt transformation defined in another > (third) file. How can I obtain the value of another transform to use this > inside my transform...? > It sounds a little weird but I need something like > <xsl:value-of select="anotherXsltFile.xsl applied to this xml" />. Saxon has an exension function http://www.saxonica.com/documentation/extensions/functions/transform.html Which XSLT processor are you using? With MSXML or XslCompiledTransform it might be possible to implement an extension function similar to the one Saxon has, using the msxsl:script element http://msdn.microsoft.com/en-us/library/ms256042(VS.85).aspx -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
