Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Possible to have XSL test URL?

From: ErwanAmoureux@-----------.---------.---
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.
> > 
> 
> 
> 


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent