+1 for Shawn's example.
Ethan
On Mon, Aug 1, 2011 at 9:30 PM, Shawn Averkamp shawnaverk...@gmail.comwrote:
You could also combine the best of both solutions with:
xsl:for-each select=//dc:subject
tr
td scope=col class=width1/
th scope=col
Thanks for everyone's response. My issue is now solved.
Edward
On Tue, Aug 2, 2011 at 8:33 AM, Ethan Gruber ewg4x...@gmail.com wrote:
+1 for Shawn's example.
Ethan
On Mon, Aug 1, 2011 at 9:30 PM, Shawn Averkamp shawnaverk...@gmail.comwrote:
You could also combine the best of both
Hi,
I am trying to do something with an xsl stylesheet (1.0) that seems
like it should be pretty simple, but I can't figure out how to do it
or find any examples on the Web that work-. I have a set of Dublin
Core XML records that have the subjects as either LCSH or TGM. The
type of subject is
Sent: Tuesday, August 02, 2011 7:54 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] xml stylesheet question
Hi,
I am trying to do something with an xsl stylesheet (1.0) that seems
like it should be pretty simple, but I can't figure out how to do it
or find any examples on the Web that work
something like
xsl:for-each select=//dc:subject
tr
td scope=col class=width1/
xsl:choose
xsl:when test=@xsi:type='dcterms:LCSH'
th scope=col class=width20Subject: LCSH /th
/xsl:when
xsl:when test=@xsi:type='dcterms:TGM'
th scope=col class=width20Subject: TGM/th
/xsl:when
You could also combine the best of both solutions with:
xsl:for-each select=//dc:subject
tr
td scope=col class=width1/
th scope=col class=width20Subject/th
xsl:if test=@xsi:type
xsl:text (/xsl:text)
xsl:value-of select=substring-after(@xsi:type, ':')/