Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - xsl:Include e xsl:call-template [Thread Next] RE: xsl:Include e xsl:call-templateTo: NULL Date: 11/10/2006 1:47:00 AM You can't make a dynamical include. For me the solution is to write a script using DOM before you'll make XSLT transformation 1) You select in the xml the node with this value 2) You select(or create) in theXSLT the node include and put the value in 3) make XSLT transformation -- My english is (very) rusted,please, don't hesitate to correct me Thanks redacteur/moderateur xml sur developpez.com "lele1979" wrote: > Hi XSL Community, > > I would do a file in PDF with FO and XSL/XML tecnology. > > In a precisely moment of a creation of this PDF file I must call a > precisely template from a precisely XSL file, that I have already > included. > > The name of this template is the same that from a file XML. > > Into each file XSL there are one template. > > Example: > > File XML: > ------------------------- > [...] > <object1>ADV6</object1> > [...] > ------------------------- > > File XSL (his name is "ADV6.XSL") is structured: > > ------------------------- > <xsl:stylesheet> > <xsl:template name="ADV6"> > [...] > </xsl:template> > </xsl:stylesheet> > ------------------------- > > File XSL that call another file XSL > > ------------------------- > [...] > <xsl:include href="Adv6.xsl"></xsl:include> > [...] > <xsl:call-template name="ADV6"/> > [...] > ------------------------- > > How do you do to put "Adv6.xsl" and "ADV6" dinamicly? > > How do you do? > > Thank you for your interesting. > > Emanuele > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
