RE: Print parent text
If your emphasis node is treated differently based upon it's parent, simply create a match for each type: <xsl:template match="emphasis[parent::a]"> Perform a/emphasis formatting... </xsl:template> <xsl:template match="emphasis[parent::b]"> Perform b/emphasis formatting... </xsl:template> Thanks! Angela -----Original Message----- From: Luke Jones [mailto:ljones@xxxxxxxxxx] Sent: Thursday, August 23, 2007 11:29 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Print parent text I did it this way because emphasis nodes as well as para nodes show up as children to many different parents and need to be handled in different ways. Thanks!
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