Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Possible to have XSL test URL? >Thread Next - Re: Possible to have XSL test URL? Re: Possible to have XSL test URL?To: NULL Date: 12/8/2006 1:36:00 AM Excuse me but your question is not very clear... What URL would you test ? A URL writted in the XSLT ? In a parameter ? The URL's XSLT ? -- My english is (very) rusted ,please , don''''t hesitate to correct me Thanks rédacteur/modérateur xml sur developpez.com "Dimitre Novatchev" wrote: > If you know about xsl:if, then the next step is to learn about xsl:choose > > > Cheers, > Dimitre Novatchev > > > <general.havok@g...> wrote in message > news:1165526268.911012.45060@f...... > > Want to know if this is possible. > > I want to create an XSL file that will work with multiple webpages. > > I'd like to have a situation where the XSL would test the url and do a > > certain action depending on what page it is. > > For example, look at this made up code ( I don't know how to actually > > program what I want to do, if it's even possible, thats why I ask.) > > <xsl:if (url=page1) > > action > > </xsl:if> > > <xsl:if (url=page2) > > different action > > </xsl:if> > > > > The way my website is, a CMS, it's very inefficient for me to create a > > million templates and XSL files when I should be able to do it all with > > one XSL file that just has if statements to take care of all the > > differences. > > > > Thanks. > > > > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
