This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Correct way to handle nested tags
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Correct way to handle nested tags
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 13 Jun 2001 11:36:47 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I have the xml:
> <text>
> some text <img src="img1.gif"/>
> more text <img src="img2.gif"/>
> some more text <img src="img3.gif"/>
> end of text
> </text>
>
> How would I generate the html:
> "some text <img src="img1.gif"> more text <img
> src="img2.gif"> some more
> text <img src="img3.gif"> end of text"
>
<xsl:template match="text">
<xsl:copy-of select="node()"/>
</xsl:template>
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list