This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XMLTag Names becoming titles in html
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl]XMLTag Names becoming titles in html
- From: "Tanzila Mohammad" <tmohammad at entier-solutions dot com>
- Date: Tue, 17 Apr 2001 13:49:04 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
I am having the following xml:
<description> Hello </description>
<author> J.Bloggs</author>
<temperature> 37 degrees</temperature>
<soil></soil>
In my xsl:
I need some way of looping through the xml so that if there is content (e.g
Hello for description tag) to display the xml element tag's name (e.g
description) as a title in the html along with the content, otherwise
display nothing (as for the soil tag).
Thanks
Tanz
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list