This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Using tags within tags
- To: <XSL-List at mulberrytech dot com>
- Subject: Using tags within tags
- From: Mick <mick at telekabel dot nl>
- Date: Wed, 16 Aug 2000 13:05:12 +0200
- Reply-To: xsl-list at mulberrytech dot com
Hi all,
I have the following problem. I'm trying to use tags that are nested within
other tags but everything I've tried so far won't work. I'm using IE5. I
have the following piece of XML:
<root>
<page>
<line><cap colour="red">T</cap>his is line 1</line>
<line><cap colour="blue">T</cap>his is line 2</line>
.............
</page>
</root>
The HTML output I want is as follows:
<html>
<body>
<div style="color:red">T</div>his is line 1<br/>
<div style="color:blue">T</div>his is line 2<br/>
</body>
</html>
Can anyone tell me what the XSL should be in order to achieve this result?
Thanks.
Mick van Rootseler
mick@telekabel.nl
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list