|
Subject: Re: [xsl] Same name Elements in more than one node From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 26 Dec 2001 12:51:28 -0500 |
<xsl:for-each select="//C02">
<TR>
<TD>
<FONT size="+3">
<xsl:value-of select=".//PERSNAME[@ENCODINGANALOG='100$a']"/>
</FONT>
<xsl:text>     : </xsl:text>
<xsl:value-of select="@ENCODINGANALOG"/> ...
<TBODY>
<xsl:apply-templates select="//C02"/>
<!-- there's probably a better way than to select all C02 components
from the root, but for now ... -->
</TBODY>
...<xsl:template match="C02">
<TR>
<xsl:apply-templates select=".//PERSNAME[@ENCODINGANALOG='100$a']"/>
<xsl:apply-templates select=".//PERSNAME[@ENCODINGANALOG='700$a']"/>
</TR>
</xsl:template><xsl:template match="PERSNAME">
<TD>
<FONT size="+3">
<xsl:value-of select="."/>
</FONT>
<xsl:text>     : </xsl:text>
<xsl:value-of select="@ENCODINGANALOG"/>
</TD>
</xsl:template>Happy holidays! 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] Query string syntax, Mike Ferrando | Thread | FW: [xsl] Unique sorting, Andrew Welch |
| Re: [xsl] Same name Elements in mor, Mike Ferrando | Date | Re: [xsl] how to assign a xsl varia, Andrew Welch |
| Month |