Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have an xml doc which has 2 cdata in one of its tags, i one to print each cdata in an individual paragraph, how can i do this?
Posted
Comments
Maciej Los 3-May-14 13:08pm    
Sorry, could you be more specific?
Coder93 3-May-14 14:21pm    
for example we have following in xml, (body have to cdata child)
<body>
<![CDATA[
Quae eum provident cumque. Expedita non labore. Expedita tenetur voluptatem rerum necessitatibus est laboriosam velit. Ab eaque eligendi distinctio aut rerum excepturi. Est eum dolor. Ipsam consequuntur unde. Occaecati quis ex esse. Fugiat aut excepturi laborum et qui. Sint blanditiis at quia veritatis. Est dolores fugit minus officia. Mollitia laboriosam quia. Neque aut et quidem sunt atque similique ut.
]]>
<![CDATA[
Quae eum provident cumque. Expedita non labore. Expedita tenetur voluptatem rerum necessitatibus est laboriosam velit. Ab eaque eligendi distinctio aut rerum excepturi. Est eum dolor. Ipsam consequuntur unde. Occaecati quis ex esse. Fugiat aut excepturi laborum et qui. Sint blanditiis at quia veritatis. Est dolores fugit minus officia. Mollitia laboriosam quia. Neque aut et quidem sunt atque similique ut.
]]>
</body>

i want to show each of them in separate paragragh!
karthik Udhayakumar 3-May-14 15:17pm    
i one to print each cdata in an individual paragraph, how can i do this? what abut the other..pls start the requirement clearly..use improve question widget:)
[no name] 3-May-14 21:50pm    
As long as you are updating your question, please include the code that you have written to accomplish this and describe the problem that you have encountered with your code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900