Subject: Re: [xsl] processing alternating sibling nodes From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 31 Dec 2002 16:20:35 -0500 |
> <xsl:for-each select="descendant::question"> > <xsl:value-of select="text"/> > <xsl:value-of select="reference"/> > </xsl:for-each>
<xsl:template match="text"> <xsl:value-of select="."/> <xsl:value-of select="following-sibling::reference[1]"/> </xsl:template>
I hope that helps, 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 ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] processing alternating siblin, Wright, Steve | Thread | Re: [xsl] processing alternating si, Tobias Reif |
[xsl] processing alternating siblin, Wright, Steve | Date | Re: [xsl] processing alternating si, Tobias Reif |
Month |