Subject: Re: [xsl] Which commands to use: xsl:if, xsl:when, xsl:choose, xsl:otherwise ?? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 27 Jan 2004 14:37:05 -0500 |
I have learned just enough XML and XSLT to think I understand what I am doing.
However, when I am faced with something that takes more logic and real understanding of such things as:
xsl:if
xsl:choose
xsl:when
xsl:otherwise
?I find I really don?t understand how to use them or what is going on with the XSLT and the processing?
I COULD just go on and create an XML and an XSL file for each page?
But I began thinking, "There must be a way using xsl:if or xsl:when or xsl:choose or xsl:otherwise to make it so I could have ONE and one only XSL file for the whole site.
The idea is that no matter whether I was generating an opening Subject screen or a page further in, all the info. I need should be in this XML file.
I have tried many ways, but it is clear that I still don?t truly understand which commands are appropriate and how to incorporate them into the XSL?
Reference Dept. Stockton-San Joaquin County Public Library
-- Public courses: sign up for one or both soon to reserve your seat! Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong, China: 2004-05-17 Bremen, Germany: 2004-05-24 World-wide on-site corporate, government & user group XML training
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Which commands to use: x, Bill Walker | Thread | [xsl] Multi-source documents: diffe, Randolph Kahle |
Re: [xsl] Invalid character found [, B. Tommie Usdin | Date | Re: [xsl] Multi-source documents: d, G. Ken Holman |
Month |