Solved

XML cdata

Posted on 2011-03-19
2
396 Views
Last Modified: 2012-05-11
Hi there,

can someone tell me why my carriage returns are missing from my XML flash content?
They are there when I view offline, but when uploaded to the web the xml text flows with no line breaks.

See link below and click on 'Atoms'. If you click through the e-learning module you will see what I mean.

http://www.briancoyle.com/instruct/index.html

Thanks in advance


Brian
0
Comment
Question by:BrianJC67
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Expert Comment

by:Amick
ID: 35173446
Do you need to use <pre> tags or <br /> tags with your content?
0
 
LVL 17

Accepted Solution

by:
deepanjandas earned 250 total points
ID: 35173917
You carriage returns will not work but just pressing returns on keyboard. In CDATA it takes more than just a line I guess.
Try this:
<item>
 <slide>slide0.swf</slide>
  <comment><![CDATA[<span class="title">Module Topics</span><br><span class="titlechild2">Welcome to Atomic Structure. This module covers the following topics:<p><span class="titlechild">Learning Objectives</span><br><span class="titlechild2"><After completing this module, you should understand the basics of atomic structure.</span><br><p>]]>
  </comment>
</item>

Open in new window


Warm Regards
Deepanjan Das
0

Featured Post

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question