This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: returning single result from apply-templates


Evan Lenz writes:
 > The following will also work, and may be more straightforward (consisting of
 > two steps rather than three):
 > 
 > <xsl:apply-templates select="foo/descendant::bar[1]"/>

Thanks. That *does* help me, as its definitely more readable.

sebastian


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]