[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Creating a new element and renaming (was issue 793)
David,
I understand what you are saying, however when I change that first template from story to <D>, it removes the structure that I'm creating in the first template. This is what I have at this point which is working. What is needed in this style sheet to change the <Story> element to <D> ? Thanks for your patience! chad <xsl:template match="Story"> <xsl:copy> <BB><TG> <xsl:apply-templates select="articleTitle| articleSubTitle"/> </TG></BB> <xsl:apply-templates select="*[not(self::articleTitle or self::articleSubTitle)]"/> </xsl:copy> </xsl:template> <xsl:template match="Root"> <DG> <xsl:apply-templates select="@*|node()"/> </DG> </xsl:template> chad
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|