xsl-list
[Top] [All Lists]

XSL nested tag help

2002-10-04 10:25:04
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>

I tried with xsl:for, xsl:if, xsl:while to check the tag but nothing 
is working. Any tips or pointers will help me a lot.

Thanks for your help

-Mani
mani(_at_)cybelink(_dot_)com
www.cybelink.com







 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>