[Home] [By Thread] [By Date] [Recent Entries]
David,
I think this is making more sense now. The first part of the template below, creates the parent elements like we had discussed before, and the tags for the child elements of <Story> in this case don't start to show up until I tell them to like in the second part of the template. One thing that I have run into is the fact that I need to rename the <Story> element after or during processing. How do I accomplish something like that? <xsl:template match="Story"> <xsl:copy> <BB><TG><TI> <xsl:apply-templates select="articleTitle| articleSubTitle"/> </TI></TG></BB> <xsl:apply-templates select="*[not(self::articleTitle or self::articleSubTitle)]"/> </xsl:copy> </xsl:template> <-- Second part --> <xsl:template match="Root">
<DG>
<xsl:apply-templates select="@*|node()"/>
</DG>
</xsl:template>chad On Jun 1, 2006, at 12:05 PM, David Carlisle wrote:
|

Cart



