Subject: RE: if
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Wed, 15 Mar 2000 08:52:52 -0000
|
>
>One of the elements within my XML document consists of a room
>number built
>up as follows:
>
><floor><section><number>
>
>For example, 6.E.19 would be on the 6th floor, in E section's
>19th room.
>
>How would the xsl:if statement be used to list, for example,
>all the rooms
>on a particular floor? For example, say I wanted a list of all
>the rooms on
>the 6th floor, how would I calculate that?
How about this, rather than an if statement.
<room>
<floor>
<section>
<number>
</room>
<xsl:apply-templates select="room[floor='6']"/>
HTH DaveP
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: if
- Pawson, David - Wed, 15 Mar 2000 08:52:52 -0000 <=
|
|