Quiz App - what is the best way to represent the data?

I create a quiz app, kinda like flash cards.

The text for the question and answer may contain HTML code, double and single quotes, etc...

The text of a question or an answer may also span multiple lines, with a few lines indented.

Should I keep the question and answer text in an XML file or text files?

I ask because I know that sometimes when you store data in XML files, you have to jump through hoops to have Flex not to spoil the data if it contains <>, ', ' and a lot of white space. "

If I store the data in an XML file, I guess I need to escape <>"' and short after reading the data?"

Yes, escape() the string before you write it in the xml file.  I used this with the attributes and text nodes.

If you are gong to display the string through a property of text.htmlText you didn't need unescape() first, the htmlText will do.  If it is XML and you will need to analyze via XML(), then you have to unescape() it first.

Tracy

Tags: Flex

Similar Questions

  • What ever the data that we are loading in HFM, how to check if the data are correct or not?

    Hello!

    This is SANDEEP, I loaded data using FDM in HFM. How to check if the data is correct or not, what ever the data I was responsible in HFM.

    Please tell me how to recover the data and what format, clearly can you me the data verification process step by step.

    It would be useful for me...

    Thanks in advance...

    Kind regards

    SANDEEP

    Hi Sandeep,

    I think the best way is to extract data from HFM for the same POV that you have loaded FDM and check if it is the same.

    If you then use HFM 11.1.2.x version

    1. login to the application and go to the menu Administration / extract / data.

    2. set the POV that you have loaded the data, then unzip it. You can open the file unzipped in a notebook

    3. you can compare the file with the data file generated by FDMEE under Outbox folder.

    But what would you give all the data corresponding to the POV that you set. So please ensure that you have the correct POV, defined according to the export FDMEE.

    Thank you

    Chandra

  • How to install an AIR android app without deleting the data generated by the previous version

    I have an android application developed using adobe AIR SDK 16 and Flash CS6. Whenever I have publish/debug the application directly in the connected device. But whenever I publish the application data (images, text files) saved in the repository of application including the sqlite file are deleted. That's why I have to recreate all the data again to test. Is there a way to public/install an apk without losing the data created by the app installed? I tried with changing the version number. And I use the same certificate.

    Colin is correct. When you publish on an Android application directly on a Flash device, it removes the old version and then install a new. You can actually see this happen. If you have the app open with the screen on drawer and to publish the application from Flash, you will see the app disappear from your device and a few seconds later, another appears.

    Another way you could install the app, while keeping the data is just having Flash create the .apk file and install it manually on your device or use the method of Colin put as a beta/alpha on the game store. Be aware that if you are wanting to do your application paid for, you can first make free.

    A manual installation options include the apk of edition and then move to your device while it connected as USB device (Windows) or use the Android app (Mac) File Transfer and you need a file manager on the device application 'open' the app that will trigger the installation prompt.

    What I do, because my apps are for most of the code and are small size of file, use Dropbox. I have all my project files saved with Dropbox, so whenever I publish a new .apk file, I download the new file to my phone from Dropbox and install it from the downloads app and it prompts just update you currently installed.

    All manual installation options will be security-> Sources unknown option checked. I don't remember if it applies to the developer of the app, but apps beta/alpha on the need of a community Google Store + or Google Group created to test and anyone in the community or group can download and test the application. But of course, you can restrict the groups invite only.

  • I thought WWDC 2016 TEU June 13 at 10 am PDT. Some sites say that the event is from 13 to 17 June. What is the date on which they will announce if there are new products coming out. What is 13?

    I thought WWDC 2016 was just June 13 at 10 am PDT. Some sites say that the event is from 13 to 17 June. What is the date on which they will announce if there are new products coming out. What is 13?

    WWDC is the 13th week, not a single day. However, at 10:00 13 will be the speech. It's what you want to watch. You can download the application to your computer via: Developer Apple WWDC Watch - WWDC -. You can download the app for iPhone, iPad, or contact via the iTunes Store.

  • What are the data size of the buffer on PX1394E - 3 50

    Hello

    I bought this drive a few days ago and I'm a little confused on the
    the size of the data buffer. The box indicates 16 MB, Toshiba web page says 8 MB, etc...

    Nobody knows, what are the data buffer size of this model?
    Is there a SW or the request to meet with whom?

    BTW, great car, fast, noise, however, extremely when it comes to finding large files.

    Thank you
    Francisco

    Hello

    I have lurked around a bit and it seems that your drive has buffer of 16 MB that is absolutely definitely sure. To check the details of your computer, you can use the tool "Sisoft Sandra". You can download [url href = http://www.sisoftware.net/index.html?dir=&location=downandbuy&langx=en&a=] here [/ URL].

    After download, just install it and you will get all information about your computer, as the size of the buffer of your external hard drive.

    Welcome them

  • What is the date of end SQL server 2008 SP2 support?

    What is the date of end SQL server 2008 SP2 support?

    Have you tried Google? or:

    ASK THE QUESTION IN THE SQL SERVER FORUM:
    http://social.msdn.Microsoft.com/forums/en/category/SQLServer

  • All the members (but 1) are removed from the entity dimension in planning and deployed to essbase. -What are the data deleted in essbase so? / The data can be restored by restoring the entity dimension?

    All the members (but 1) are removed from the entity dimension in planning and deployed to essbase.

    -What are the data deleted in essbase so?

    The data can be restored by restoring the entity dimension? EPMA the entity dimension is still in tact.

    It is unclear what exectly arrived, but looks like a change was made in the dimension entity planning (not EPMA) and then deployed (successfully).

    In essbase, we see that the entity dimension has only one member left for the appropriate plan types, as in the planning.

    If you remove members and then push that yes the essbase data is deleted, if you need back then you will need to go back to your restore process.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • What is the best way and to share data between a server and a Client app?

    Hello

    I'm trying to communicate a Client-Server application.

    In fact, I already have a simple data transfer via TCP/IP. However, I don't know yet, if TCP/IP is the best (and by that I mean, better, faster, safer, etc.)

    How to do.

    What are the cons and Pros between TCP/IP, STM and shared Variable?

    Do you recommend another type of communication in addition to these 3?

    Thank you

    Matt.

    In my view, that a general question cannot have a response says.

    Then, there is no way 'the best' for sharing data between a client and a server app.

    I like to use TCP/IP, but sometimes (when data loss is not critical) I use UPD (quick and dirty).

    I generally avoid shared variables, especially on embedded devices.

    Some other times I have I like to Exchange data in a database...

    A few other times I Exchange data using file...

    Marco

  • What is the best way to do a data column all the one-colour

    www.bristolequestrianservices.co.UK \sales.html.

    I'm doing all my retail price in a red color.  I gave him an extended class but the numbers go up online and if I go just to get him off, then he gives it adds a < p >...

    < p > < span class = "sales" >£ 900 </span >

    < /p >

    If it's good to add a < p > I'll do it, but I don't think that is correct.

    Give him a line height in css, but it does not work.

    It's my css

    .sales {}

    do-size: 16px;

    Color: #FF0000;

    }

    Can someone tell me the best way to do this please.

    Thank you.

    All your prices are in a table cell. To do this, the easier is to add the class to the table cell that contains the sales prices.

    Then change your style to this rule:

    .sales p {}

    do-size: 16px;

    Color: #FF0000;

    }

    Because all prices are in paragraphs, the price is displayed in red. No need to add an interval around each price.

  • Best way to pass customer data from 2.4 GHz to 5 GHz network?

    Wireless network was initially designed for b/g data, voice on a service.

    Voice has not yet been implemented and have decided to move the data from one, and can use Vocera on b/g.  Should I create a new SSID that is enabled only on a radio and reconfigure all clients to use this (more than 300 customers would need to be touched... but I would like to know what devices are had been missed), OR should I use the radio on my existing SSID, allowing customers with a radio to start using, which should help me determine what clients do not have a radio (although I'm not sure if the) customers will choose one on b/g).  I would possibly turn off b/g on my existing SSID (legacy clients could be upgraded or reconfigured).

    You really have to use different SSID for voice and data.  In this way, you can configure QoS.

    The extent of the passage of the customers you could either just configure the SSID to use only 802. 11A, or you can use bandselect.  With bandselect, push customers to 'a', but if the customer can not 'a' is always will join on "b/g".

  • What is the data format 'Hyperlink' in column properties?

    Hello
    What is the format of data "Hyperlink" in the properties of the column? How to use it?
    Can I use the value of column to navigate to another report without using the 'value' Interaction in the properties of the column.

    By changing the format of data to say HTML, or hypertext link, you can add tags HTML content/HTML within the formula of the column.

    You can create a formula column that would resolve into a dynamic hyperlink and pass parameters using Url go. See Chapter 11 in the Guide of Administration Oracle® Business Intelligence Presentation Services

    See an example:

    Re: Dynamic display of the link Image URL

    Search on the forum as well as several similar examples.

  • What is the date of end of support for Firefox version 19?

    I wish to confirm the date of end of support for version 19, February 2013?

    Security updates support ends when the next version of Firefox is released, so while Firefox 20 was released 6 weeks ago and 21 Firefox will be available Tuesday, May 14, that means that Firefox 19 is is no longer officially supported.

    I see that you are still running Firefox 17.

    Is there a special reason why you don't have not updated to the current version?

    The version of Firefox Firefox 17 that you are currently running is no longer compatible with security updates

    Please upgrade to the latest version of Firefox 20.0.x.

    • Help > about Firefox
  • What is the date format used in the charts of Microsoft Support policy? Is the day/month/year or month/day/year?

    For example, the Date of beginning of life cycle shows 31/05/2001 (March 5) and the end of Support Date extended watch 07/12/2001 (12 July or December 7).

    The date format is month/date/year. This format is for the start date and end date for extended Support.
    In your example, the start date is May 31, 2001, and the end date would be July 12, 2001.

    I hope this helps.

    Marilyn

  • What is the best way to delete personal data so that I can sell a laptop?

    I have a laptop of 2 year, that would be perfect for daily use.  I want to delete my personal data and sell it.  I know there are tools that formateront the whole disc.  However, I have to reinstall the OS and I'm not sure of the easiest way to do it.  The laptop is pre-configured with Windows and I have no disks in the system.  Is there something that will remove my personal data safely and leave intact BONES?

    Hello

    I would ask you to check out the link and follow the suggestions in the article:

    Protect and serve your personal files

    http://www.Microsoft.com/athome/organization/personalfiles.aspx#fBid=WzoMtBLtPbX

    WARNING: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Thank you.

  • Best way to back up data in a generation app

    LabVIEW 2010, Application Builder

    I finally found a way to find the path of the called VIs dynamically in my application built to LV2010 (now that you cannot use the folder list for a list of the screws of your built application more).

    For what it's worth, my (from other posts) solution is to use an after built step that records all the ways of development of "top level/always included screws" in a text file in a subfolder 'bin' of my app (in which I also store dll that I need). However, it is not very elegant as anyone can take a glance at it and the refectory with this file.

    I could of course make binary and give him a .dll extension to discourage people from getting close to him, but I was wondering if I could simply not to save this info (the list of all the ways of development of high level/always screw included) in an exe itself (phase post-construit). I have no idea how.

    Any suggestions?

    Hey,.

    I don't think that there is a more elegant solution to this problem, because I think you're right that you cannot use the files VI list for the list because it is inside the exe itself.

Maybe you are looking for