|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: if
> >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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








