Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - 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/7/2006 6:54:00 PM 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 | |||
|
