This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL nested tag help
- From: Geoff Hankerson <ghank at lawlead dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 04 Oct 2002 13:28:50 -0500
- Subject: Re: [xsl] XSL nested tag help
- References: <jUsT.aNoTheR.mEsSaGe.iD.103375238315578@cybelink.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Mani Malarvannan wrote:
Hi,
I've following XML file.
<Main>
This is a first test message
<Target> and </Target>
it is important
</Main>
From the above XML file I'd like to write and XSL so that I'll get
following output
<h1>This is a first test message<h1> <h2> and </h2> <h1>it is important
</h1>
Try:
<xsl:value-of select="/Main/text()"/>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list