</span >, causing extra space of htmlText

I am text to load an xml file that has a few CDATA as well as < span class > inside.  The xml file would look like this:

<?xml version="1.0"? encoding="utf-8"?>
<allPages id="Execution Management - Replanner" version="1.6" template="djc2_1_5" audioType="MP3" videoType="WMV">
<page id="8">
<narration>
<![CDATA[hello<step>Step 1 text <span class = 'mycolor'>with some text followed by a comma</span>, followed by some more text</step>]]>
</narration>
</page>
</allPages>

The problem I get is when I put the CDATA text in a textfield, an extra space is added after the < / span. That is to say. "with a text followed by a comma,".  This space is added only if there is some kind of punctuation immediately following </span > in the xml document.  I tried to get rid of it with regular expressions and split() .comes but nothing worked.

who makes no difference (except to show that whoever created this xml format using in the cdata instead of step tags in the XML was not well informed).

He also noted that your problem has nothing to do with or css.  the problem is what you do to manage the tag implements the problem.

in any case, simply use:

function f(e:Event):void {}

var XML = XML (urlloader.data);

var s:String = xml.page.narration.text ();

var a: Array = s.split('__').join ("") .split ("");

a.Shift ();

}

Tags: Adobe Animate

Similar Questions

  • extra space strikes next to the address of the Web site

    I had just updated my Firefox to the latest version (29.0.1), and it restarted, as soon as I noticed hits extra space next to the space where you type the address of the site. The extra space seems to be the lock with the address, because I can't move the extra space when you try to customize the toolbar (like how you can't move the address). I would try the "restore default" Customize, and does not remove the space. The extra space is not the search bar, and does not seem to use the extra space, so I wonder what's the point really? or if it's a random bug?

    Thank you!

    How do you move the search bar as it seems that Firefox continues to see her here and reserve space.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Copy of Firefox always function adds an extra space before or after double clicking to select text

    I have just started using Firefox, but I noticed a strange "characteristic" (I don't know if this is a feature or a bug, so the quotes). I'm used to the opera, and that is where by when I double click on some text, the text will be automatically selected. Firefox does something like this, but for some reason any I don't yet understand that it adds extra space at the beginning or at the end of the selection. It is a problem for someone like me who, for work, did a lot of copy / paste. I use web software that doesn't tolerate extra spaces and this feature/bug will end up causing some problems.
    Is it possible to change this behavior so that it behaves more like all my other computer programs? Your help is greatly appreciated.

    Well, unfortunately, the solution did not work. I guess it's back to the opera, as seems to be the only browser that has the features I need. Too bad.

  • Extra space under navigation in IE6

    Hi, I am using DW CS4 on a processor intel Mac.  These two sites look good on other browsers, but with IE6, there is extra space just below the navigation that gets really subsumed in CSS rollovers, such that it performs abnormally high turnover.

    How can I address the issue to fix? I really appreciate any help or suggestion - thanks!  Here are the sites:

    Http://www.frankbright.com

    Http://www.larryparrishpiano.com

    This could be the 'a' bug causing this space in IE6.

    IF you want to support IE6 (I have not) you can target specifically the browser with an IE conditional comment.

    Cut the underside (not URL) and paste it into the code of your pages directly before the closing tag.

    Http://www.frankbright.com

    Http://www.larryparrishpiano.com

  • How to activate the 50 GB of extra space? Motorcycle g 2nd gen d

    I can't find how to activate free 50 GB of extra space in google reader. I'm doing something wrong? I bought a 2nd gen Dual sim g motorcycle Friday afternoon and I always try to find the way...

    @Swimmergr-

    I have some additional information. Motorola did not include Google Drive with 2nd Gen Moto G good. Where have you bought the phone?

    Mark

    Forums Manager

  • Extra space after the quotation mark open

    I write fiction. I need to be able to put the dialogue in quotation marks. My problem is that when I ask speech recognition for 'Open-quote' and then start the dialogue, I get an extra space. Like this: "come with me, Jim.

    Does anyone have a solution?

    Hi DennisFoley

    My apologies for not getting back to you sooner, actually I'm surprised that no one else has offered suggestions.

    I've personally never used speech recognition, so I have a question.  I know it's maybe not the right way to "solve" the problem, but you can do it?  When you say quote open or open Double Quote, can you tell us immediately Backspace?

    If I find any useful information, I'll post it here.

    Thank you

    Ken
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to remove extra spaces

    Hello

    How can I remove the extra spaces from a string.

    with t as 
    (select 'Abc      DEF   hig     ' str from dual)
    select * from t;
    

    The query above returns

    ABC DEF hig

    I want that output voltage

    ABC DEF hig.

    Basically, I want to do an update on a table column. How can I write the update statement to delete extra spaces in a column.

    update t
    set str = trim(regexp_replace(str, ' {2,}', ' '))
    where ...
    
  • Get the extra space in the table

    I use af:table for whom

    1. I use the styleclass AFStretchWidth and I put the width to 100%

    2. I'm defining the width of the columns in % (sum of the width of all columns is 100%)

    3. about the table with af:panelCollection and using AFStretchWidth styleclass.

    4. about the table and af: panelCollection with af:panelGrouplayout, the line is vertical and the styleClass is AFStretchWidth.

    And I use the same table 4 cases but I get the extra space that in rare cases. Am I missing something?

    Set columnStretching = "last" or one of the columns will disable the percentage of column widths, this means that if you set the columnStretching = "last" column width table and set = "15%" when running, the column width will be '15px '. If you want to set the column width by the percentage of the columnStretching of the table must on "multiple" as you did.

    So, if you want to set columnStretching = 'last' table, you must set the column width of pixels (width = "120").

    Your page looks ok, you set columnStretching = "multiple" and you set the columns width in percentage but try to remove the width of the table = '100% ' and test again.

  • When I saw my site to load there is extra space added on the left hand side

    When I saw my site and load until there is an extra space is added on the left hand side and I don't know why or hot to fix it. I have attached two picture to show what I mean. Any help would be great.

    My workspace

    Screen Shot 2016-01-18 at 8.49.39 PM.png

    My overview

    Screen Shot 2016-01-18 at 8.49.58 PM.png

    This may be because of the frame of image outside the area of the page, any other content outside page page, any empty container etc.

    Thank you

    Sanjit

  • Windows 8 is not recognizing the extra space in the hard disk resized

    I was out of the room on the virtual drive of Windows 8 in VMWare Fusion 5.02. I increased the size of the disk in the settings, but when I run Windows, he does not see the extra space. Obviously, I have to leave something out of the process. If you can help me, please let me know what I am doing wrong. Thank you!

    Have you ever increase the NTFS of Windows partition in disk management or you do not see the additional disk space

    André

  • extra spaces added (that I can't get rid of) when you use STHeiti fonts.  What can I do?

    Hello

    Lhen I use the font I want to use (STHeiti), extra spaces added automatically - spaces which, moreover, I can't "delete" - after each apostrophe (or a single quotation mark).  See screen grabs below:

    example 1.png

    Here's another example:

    example 2.png

    Do you know how I can make these spaces go away?  When I do a search on the internet (InDesign STHeiti), I see that others have had other problems with this font... relating to a finished project export in pdf and to print.

    In the context of discussions about this, one person said that police STHeiti "is installed as part of the Apple operating system and is probably intended for on-screen display". "

    , But someone from another adds: " " the font is installed, by default, on all Mac 10.4 and higher (possibly further than that, but lets go with what we know), to open the file to the printer on a mac this will have the font available


    I'm on my Mac, but (not yet ready for the printer), then why I have a problem using this font?

    I know I could use another font, but this STHeiti is really nice!

    Thanks for any advice,

    Malcolm

    If you want to continue to use this font you can uncheck the box use the quotes on Indesign > Preferences > Type and extra spaces disappear.

  • Extra space at the bottom

    It's probably something simple, but I can't. Why is there all this extra space at the bottom of the page?

    http://www.aptcoweb.com/dev/EXCBB/

    HI -.

    You have an attribute with a value of 290px min-height in Content1.css (line 129)

    .gridContainer div {

    min-height: 290px;

    }

  • delete extra spaces in the column of the table

    How can Hi I remove extra spaces in the column of the table for example if the table column is store as "ÄAAAAA" how to remove this extra space

    This is the column I have what it takes to remove extra spaces
    select SUBTYPES  from tablesubtype;
    am in
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE Production 11.2.0.3.0
    AMT for Solaris: 11.2.0.3.0 - Production Version
    NLSRTL Version 11.2.0.3.0 - Production

    Published by: adf0994 on 03/12/2012 11:30

    Published by: adf0994 on 03/12/2012 11:42
    UPDATE tablesubtype
       SET SUBTYPES  = TRIM (SUBTYPES);
    

    RTRIM do it alone will not be enough coz it takes away only right spaces and NOT left those.
    I guess in your case do a PLATE will be more advantageous to be safe and avoid left spaces in the future.

    For the intermediate spaces... try this.

    UPDATE tablesubtype
       SET SUBTYPES  = REGEXP_REPLACE (SUBTYPES, ' ', '');
    

    Hope this helps,
    Vanessa B.

    Published by: Vanessa B December 3, 2012 14:33
    -added regexp

  • Extra space before Business Catalyst Web Apps

    Hello

    I just got the update and my web Business Catalyst apps have now extra space before they appear on the page. You can see an example on my site here. The pink box is the web application. I tried to do everything that I can think but it does not work, it will be either 2 places or more.

    Hello

    I studied the issue and found that you are using the code embedded within the text frame. It is originally the extra white space between the text and shape. I suggest to close the text at the end of the text back to the top, then add the code for the form and make another block of text for the text background. I tested it on your site and it worked fine.

    I hope this helps.

    See you soon!

    Aish

  • [JS] Hide extra space in the dynamic Script UI

    When the hide/show sections, I get more space that I don't want. I was not able to understand how to remove extra space.

    There is a post at http://forums.adobe.com/message/3708111 where I have adapted the following simple example. When the section that alternate you power is hidden, you will see there is more space between the text of the first and the second static. There should be less space (as seen between the second and third static text). Any ideas on how to avoid the extra space?

    Thanks in advance.

    Dan

    var NULL_SIZE = [0,0],
         MAX_SIZE = [1000,1000];
    
    var u,
         w = new Window('dialog', 'test'),
         p = w.add('panel'),
         s1 = p.add('statictext', u, "This is a static text"),
         // collapsible group
         g = p.add('group'),
         e = g.add('edittext', u, "Edit your text..."),
         r = g.add('checkbox', u, "Blablablabla"),
         // ---
         s2 = p.add('statictext', u, "This is more static text"),
         s3 = p.add('statictext', u, "This is another static text"),
         b = w.add('button', u, 'Toggle');
    
    g.orientation = 'column';
    
    // Initial state : hidden
    // ---
    g.visible = false;
    g.maximumSize = NULL_SIZE;
    
    // Toggles container's visibility
    // ---
    b.onClick = function()
    {
         g.maximumSize = (g.visible ^=1) ? MAX_SIZE : NULL_SIZE;
         w.layout.layout(true);
    };
    
    w.show();
    
    

    Hi Dan,.

    Maybe you should reset the spacing of g1and work with margins of the subgroups:

    // [...]
    
    p.spacing = 10;
    g1.spacing = 0; // no spacing
    
    var GP_MARGINS = [0,4,0,4]; // left, top, right, bottom
    
    subgroup1.margins = GP_MARGINS;
    subgroup2.margins = GP_MARGINS;
    subgroup3.margins = GP_MARGINS;
    
    // Initial state : hidden
    // ---
    subgroup2.visible = false;
    subgroup2.maximumSize = NULL_SIZE;
    
    // Toggles container's visibility
    // ---
    b.onClick = function()
    {
         subgroup2.maximumSize = (subgroup2.visible ^=1) ? MAX_SIZE : NULL_SIZE;
         w.layout.layout(true);
    };
    
    w.show();
    

    @+

    Marc

Maybe you are looking for

  • Remove Bios password

    I have a model VPC-f1190x what Bios FRIEND R0280Y6 2.6. I've put a bios password on it and can not remember for the life of me. I can still use the computer, but I need to get the bios to change some settings and cannot. How can I remove this passwor

  • Re: Satellite Pro L500 1W1 - gel

    My new Satellite L500 1W1 Pro gel randomly. I can't associate the gel with any activity or any program.Computer laptop freeze at startup or even afrer hours, apparently without reasons (the mouse pointer and keyboard frozen). I installed the latest d

  • two cursors at the same time move under a certain condition

    I'm trying to move the two sliders at the same time under a given the conditions. I have my program set up as follows: When 1st setting on "Continuous", all output values 4. When the 1st setting on "Pulse", values output based on ' 'Send the Signal'

  • Find questions, I asked

    I keep reading "go to your question" "go to your question. Well want to tell me how to get once I posted a question and come back in a few days looking for the shape of my questions.

  • CS6 Dreamweaver crashes on startup - Win 7

    HelloI already looked in the forums and tried some other solutions without a bit of luck.Dreamweaver CS6, Windows 7 64 bitInstallation under license from a DVD on a new Dell Latitude E6540After the installation there was also an update (via Adobe App