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 8:34:00 AM "SammyBar" <sammybar@g...> wrote in message news:#xPs#qv1IHA.3756@T...... > Hi all, > > 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" />. > > Any hint is welcomed > Thanks in advance > Sammy > > You can use the document function to retrieve an external file. So one way would be a service that returns your transformed file. For example: http://myServer.com/dotransform?xml=file1.xml&xsl=file2.xslt -- Joe Fawcett (MVP - XML) http://joe.fawcett.name | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
