[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Introducing a comma.
At 02:46 PM 11/18/2003, Charles wrote:
<xsl:if test="name() = 'in' and following-sibling::*[name()= 'in']">,</xsl:if> A more direct and more robust way of expressing this test would be: <xsl:if test="self::in and following-sibling::in">,</xsl:if> or even (okay, you may wonder what's the point) <xsl:if test="self::in/following-sibling::in">,</xsl:if> Cheers, Wendell
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
|