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

Microsoft documentation

Subject: Microsoft documentation
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 31 Jan 2000 13:31:58 -0000
microsoft documentation template
I hope Microsoft's developers understand XSLT better than their technical
authors do. The following is from their xsl:if documentation...

This example inserts an HR before the first "item" element in a set, and
another HR element after the last "item" element in the set. The "current()"
method refers to the set of "item" elements selected by the
xsl:apply-templates that caused this template to be invoked.

<xsl:template match="item">
  <xsl:if test="current() = postion(1)"><HR/></xsl:if>
  <xsl:apply-templates />
  <xsl:if test="current()=last()"><HR/></xsl:if>



Mike Kay

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

Current Thread


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.
First Name
Last Name
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.