xsl-list
[Top] [All Lists]

Closing and opeing tag in that order

2002-12-26 08:42:34
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



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