Subject: RE: [xsl] not getting expected matches From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 16 Sep 2004 15:16:28 -0400 |
<xsl:template match="*[starts-with(local-name(), 'ELE')]"> <xsl:value-of select="."/><xsl:text>*</xsl:text> <!-- put a line break after last 'ELE' element --> <xsl:if test=""> <xsl:text> </xsl:text> </xsl:if> </xsl:template> </xsl:stylesheet>
but I don't know how to format the xsl:if test to check to see if this ELE tag is the last ELE tag under the SEG tag...how would I do that?
<xsl:if test="not(following-sibling::rm:ELE)">...</xsl:if>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx 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 To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> --+--
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] not getting expected matc, Wendell Piez | Thread | RE: [xsl] not getting expected matc, Crouch, Luke H. |
RE: [xsl] not getting expected matc, Wendell Piez | Date | RE: [xsl] not getting expected matc, Crouch, Luke H. |
Month |