[xsl] Closing and opeing tag in that order

Subject: [xsl] Closing and opeing tag in that order
From: "Chandra -" <pchandramohan@xxxxxxxxxxx>
Date: Thu, 26 Dec 2002 10:42:34 -0500
Hi all,
I need to tansform an xml document into another xml document so that the transformed xml document conforms to a certain dtd.
In order to do that, I need to add a closing tag followed by an opening tag. For eg:


The initial document:
<tag1>
 data1
 <tag2>data2</tag2>
</tag1>


The transformed document must be <tag1> data1 </tag1><tag1> <!--LINE 3--> <tag2>data2</tag2> </tag1>

So u see, I need the LINE3 to be added. The XSLT processor gives me an error when I try to do that. Could you help me out.
Thanks in advance.
Regards,
Chandra



_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf



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



Current Thread