[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Correct way to handle nested tags
Try like this in the xsl:
<xsl:template match="/"> <html>...and the rest... <xsl:apply-templates select="text"/> </html> </xsl:template>
<xsl:template match="img"> <img src="{@src}"/> </xsl:template> :-) åsa From: Athanasios Gaitatzes <gaitat@xxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: XSL List <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Subject: Correct way to handle nested tags Date: Wed, 13 Jun 2001 12:54:27 +0300
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|