[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to Display multiple items

Subject: Re: How to Display multiple items
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 2 Dec 1999 11:36:43 GMT
displaying multiple items select form


> I have following part of code in my xml file (which is well-formed according
> to my DTD).

do your topic and method elements just take character data or are there
other elements that may appear there? n the latter case you almost
certainly don't want to use value-of at all, but rather use
<xsl:apply-templates select="topic">
<xsl:apply-templates select="method">

and then add templates for topic and method. that would make all your
method elements be processed.

If it is just character data, and you don't want to make new templates,
(eg if you are using the literal result template form)

change

<xsl:value-of select="method" />

to
<xsl:for-each select="method">
  <xsl:value-of select="." />
</xsl:for-each>

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.