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
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list