basic xslt question

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

basic xslt question

anaruizbio
What is the best way to write xslt to write out different <body
class=""> elements for different conditions, say , different types of
content pages.
_______________________________________________
dev-tech-xslt mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xslt
Reply | Threaded
Open this post in threaded view
|

Re: basic xslt question

Igor Tandetnik
[hidden email] wrote:
> What is the best way to write xslt to write out different <body
> class=""> elements for different conditions, say , different types of
> content pages.

I'm not sure I understand the question, but are you aware of <xsl:if>
and <xsl:choose> constructs?

Igor Tandetnik


_______________________________________________
dev-tech-xslt mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xslt