How to a CDATA xml node in flash?

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default How to a CDATA xml node in flash?

    I'm building an flash application that allows the user to enter a text
    string. That text is send to the server as an xml object using
    xml.sendAndLoad()

    To allow the user to enter ANY character (like accented chars) I'd like to
    send it as a CDATA xml node to avoid incorrect interpretation .

    However actionscript allows me to only create TEXTnodes. If I fill a
    textnode with a cdata contruction the brackets are converted into < and
    > which is not what I want.

    I know that other programming environments have such methods as

    xmldoc.createCDATASection("This is a CDATASection node")

    Am I missing something or does actionscript just not support this?

    Any suggestions out there ?


    Ron Guest

  2. Similar Questions and Discussions

    1. Flash format cftree node icons
      While using cftree in Flash format to produce a directory listing type display, I've noticed that the icons for directories that do not contain...
    2. convert XML "values" to be passed as CDATA into Flash
      Hello all, I found the following XML - Flash quiz template on the net and I was wondering how can I adapt the XML doc to pass CDATA instead of...
    3. DB Locking on CDATA in MX7
      We're running MX7 on JRUN4, 2003 Server, and Sybase for the DB. We have the DS's set up in JRUN (jconn2 drivers) and have them configured in MX7...
    4. Webservice and CDATA
      I have a webservice that needs to pass back HTML. We are using CDATA in an element node to contain the HTML, but it comes back as undefined. Looking...
    5. Flash Forms, actionscript, and alerting the value of aCFTREE node
      Hi everyone, I was wondering how I might go about doing the following. I have a flash form with a CFTREE object called theTree. I also have a...
  3. #2

    Default Re: How to a CDATA xml node in flash?

    Not that sure how to set the XLM in flash... but I used to use some [URL="http://www.sameshow.com/quiz-creator.html#107"]flash quiz creator[/URL] with the fill in blank quesiton type allows users to enter the string of required formst. You may take it to have a try.
    James008 is offline Junior Member
    Join Date
    Nov 2010
    Posts
    1

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139