We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,344 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Cdata in XSL

I have the following source xml file.
<root>
<child1></child1>
<child2></child2>
</root>

I need to convert it to

<MYOWNTAG1>
<TEST1>CurrentDate</TEST1>
<TEST2>CurrentTime</TEST2>
</MYOWNTAG1>
<MYOWNTAG2>
<XML>
<![CDATA[<root><child1></child1><child2></child2></root>]]>
<XML>
</MYOWNTAG2>

I'm having problem in inserting the CDATA section.Please help.

1
Contributor
0
Replies
2
Views
xsltnewbie
Newbie Poster
2 posts since Jun 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0563 seconds using 2.67MB