There are spaces in the XML created using Flex?

Hi all

I'm developing an extension for CS ID above using Flash Builder 4.6, Extension Builder 2.1.

My extension requires some example output in the form of xml files. These xml files are then analyzed by software at the customer's end.

The xml code is created using XML in Flex class.

The problem is that there are a few spaces induced when a child is added to a node in the xml. For example,.

<root>
        <Child>
          Os enis eium es
          <Child1 some_attributes>q</fo:inline>
          <Child1 some_attributes>u</fo:inline>
          <Child1 some_attributes>a</fo:inline>
          <Child1 some_attributes>s</fo:inline>
          evelit lab ipicto et volut
          <Child1 some_attributes>user/firstname</fo:inline>
           doluptus.
        </Child>
        <Child>As dis</Child>
</root>

When I look at the XML above, I see that there are spaces before "Os enis Mert are." I was taking them for indenting that xml uses to distinguish between parent and child. This xml file is not serious?

The expected results of the customer happens all wrong, it contains spaces, and I suspect if the XML can be a problem.

Please guide.

The XML you have posted is not valid, it was wrong with opening and closing tags...

Flash will add a spacing output XML format if XML.prettyPrinting = true. You could try that setting to false before you send the XML code.

Tags: Flex

Similar Questions

  • All-in-one HP Deskjet 2541: whenever I have something to print there are spaces at the end of the paper.

    So I had this problem since I bought the printer. Whenever I print photos or documents, anything, there always seems to be a white border at the each end of the paper in a horizontal position. a bit like the printer just abandoned at the end of printing. I tried to align the cartridges, but this does not seem to work and even tried to change the setting. The print alignment page prints nor for the right proportions. Sort can help guys?

    Hello

    The specific model does not support printing without margins (edge to edge), minimum margins are as follows:

    As you can see, 1.45 cm from the button is not a printable area and it is an expected behavior for the printer.

    You can find the specifications of paper below output:

    http://support.HP.com/us-en/document/c03811750

  • SE "There are problems with the configuration of static files in your environment" after the APEX 5 install using Oracle HTTP Server

    There is not much information in the doc around the new configuration of static file.  Someone at - it an example of this dads.conf he file should look similar to static files?  Everything else seems to work fine - it's my only hang up now.

    Thank you!

    Exact pop-up message:

    There are problems with the configuration of static files in your environment.  Please see the section "Configuration static file Support" in the Guide of the Installation Application Express

    I figured it out on my own - the doc has a section "6.5.4 configuration Support for static file" which basically said yes, it is now supported for static files, then a "see also:" link to the dads.conf section, that I'm not good enough to see there are now 2 new parameters in your dads config file...  All is ready!  It works!  YAY!

  • What is recent vs vs document download. clydeneeley, etc.  I can't find the file I've worked before.  There are several of the same name.

    What is recent vs vs document download. clydeneeley, etc.  I can't find the file I've worked before.  There are several of the same name.

    It's up to you to choose carefully where to save the file and choose the name carefully. If you don't do this, you will never find the file. But try using your Mac or Windows to search for the name.

  • There are errors during the operation of sanitation

    What started as a quick and easy update turned into a mess. I wanted to update my host esx 3 lab. The first host was a running iSCSI device and the three hosts connect to this target. Now, I forgot first well remove the target on the three hosts. So when I stop this unit the three hosts lost their target and froze. The article KB 1016291 talks about this behavior and I was about to be updated because of this hotfix

    Now, since the first host was trying to go into maintenance mode, but never did, I had to kill the virtual and also rebooted the host machine. Now it seems I broke Update Manager. When I try to remedy or organize one of the three hosts, I immediately get an error: "There are errors during the clean-up operation".

    On the vCenter server, I checked the logs in C:\Users\All Users\VMware\VMware Manager\Logs update but I can't find no manifest error. However, I give some log files that has changed today.

    At this point I don't know where to look now. Restarted host, restart services, etc, etc..

    Any help is appreciated.

    Gabrié



    http://www.GabesVirtualWorld.com

    Check the var/log/vmware/esxupdate.log. Probably, you will find information more useful.

    Marcelo Soares

    VMWare Certified Professional 310/410

    Technical Support Engineer

    Globant Argentina

    Review the allocation of points for "useful" or "right" answers.

  • Is it possible to have a slide advances on its own when there are buttons on the screen?

    I wonder if there is a way to have a slide advance automatically when there are buttons on the slide, I want the eLearning course I've created for just the AutoPlay through all the slides.

    Thanks in advance!

    What do the buttons do? Just delete their point of pause and when they reach the end of the slide, and the exit action is set to continue, or go to the next slide, everything will play.

    Lilybiri

  • I bought a 2nd hand "IBM T30" without Windows XP, at the back of the laptop product key always there, can I download the XP by using the same product key?

    I bought a 2nd hand "IBM T30" without Windows XP, at the back of the laptop product key always there, can I download the XP by using the same product key?

    Yes, you can, but you must make sure that you install a version of Windows XP OEM. either the product key on the label will not work

  • Cannot install Vista service pack 2 is 800f0a09 error code with the message that there are problems with the driver for dell latitude

    Original title: why I get error code 800f0a09 to upgrade to windows vista service pack 2

    I have a laptop del that is running on Windows Vista Edition Home Premium. I tried to download itunes but it requires service pack 2. Whenever I try to update to service pack 2, I get the message following error code 800F0A09. He also mentioned problems with the driver for dell latitude. What can I do to fix this please.

    Thank you

    Hello

    Please join Microsoft Community where you can find the necessary information on Microsoft products!

    You can not install Vista Service pack 2 and get the error with code 800f0a09 and the message that there are problems with the driver for dell latitude.

    The problem may occur if some of the components of the update are corrupt.

    What is the full error message that you receive?

    I suggest you follow the steps mentioned below to check if the problem is with the update components:

    Method 1: Reset the update components

    See the site:

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Warning: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-the-registry

    Method 2: Run the system update readiness tool

     

    See the site:

    System update scan tool corrects errors of Windows Update in Windows 8, Windows 7, Windows Vista, Windows Server 2008 R2 and Windows Server 2008

    http://support.Microsoft.com/kb/947821

    Method 3: Turn off the antivirus software

     

    See the site:

    Disable the anti-virus software

    http://Windows.Microsoft.com/en-in/Windows-Vista/disable-antivirus-software

    Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    I hope this helps. If the problem persists, let know us and we would be happy to help you.

  • My computer crashed and I reinstall first elements 7, but it will not recognize my serial number there are two on the CD case please help

    My computer crashed and I reinstall first elements 7, but it will not recognize my serial number there are two on the CD case please help

    When you ask a question you will need to provide some basic information

    Mac or Windows and EXACTLY what version of the operating system?

    Recent Mac AND Windows operating systems have been known to cause problems "weird."

    Lost information - response #1 in https://forums.adobe.com/thread/2008767

    Invalid License http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

    -http://helpx.adobe.com/creative-suite/kb/invalid-serial-number-cs4.html

    - and http://forums.adobe.com/thread/1038761

  • Why are there empty space through the albums above tabs and the toolbar address and Windows-like minimize fullscreen and close icons at the top right? Using a Mac?

    With the recent update, I've now wasted space between the top of my Firefox window and tabs. Is there a way to do this, go away?

    Resolved when past to default theme.

  • that means xml, when I try to set up an analysis of the image years ago, I get the message that there are on this scan xml elements and if I save it, elments of xml will be cleared. What is

    When I bring up some old pictures on my computer, it comes like a scan, when I opened the scan he says he has xml elements, which, if I save it, the xml elements will be deleted, what are xml elements

    The normal definition of xml is the Extensible Markup Language and is the most used in the web development. There is no logical reason why scans contain xml in their breast.

    All files have an extension that is used by Windows to identify what program to use to open the file. Word uses .doc or .docx format, Excel .xls or .xlsx, Adobe uses .pdf etc.

    Right-click on one of the files and select Properties, in the general tab, it displays the type of file and its extension.

    You are referring to 'initials pvt' but pvt isn't a common file extension and is used by a couple of applications, but have nothing to do with analysis or graphics.

    Up to what you did what in fact do a copy files (copy the directory as a whole) and let the originals intact.

    Although Word works with graphics files which is not normally the native program to use, can you explain the steps that you use to open the files.

  • How to store the XML Fragments using functions such as XMLElement

    Hello

    Don't know what I'm missing. I want to store XML fragments in variables so that can move around and concatenate it with the other fragments to make the final XML document. Even before trying to concatenate XML fragments, I fight to store any XML fragment in a variable. I try to use simple functions such as XMLElement to generate XML data can be stored in the variable. I've seen many examples of XMLElement in SQL select statement. XMLElement is usable in plsql? XMLElement said she returned the value of type XMLType. Functions such as XMLElement to generate XML easy to create all the tags manually.

    Here is a simple example that illustrates what I would do. I wish I could pass the XML as clob or XMLType fragment. I get error saying PLS-00201: identifier "XMLELEMENT" must be declared

    declare
    XMLType vTheData;
    CLOB vTheDataClob;

    Start
    vTheData: = XMLelement("empno",'1234567');
    vTheDataClob: = xmlelement("empno",'1234567').getclobval ();
    end;

    Wherever I can use below, but certainly do not use select double method of. I just can use the XMLElement function in plsql even than sql, like most of the other functions for example length, rtrim etc.

    declare
    XMLType vTheData;
    CLOB vTheDataClob;

    Start
    Select xmlelement("empno",'1234567')
    in vTheData
    Double;

    Select xmlelement("empno",'1234567').getclobval)
    in vTheDataClob
    Double;
    end;

    Hope it makes sense.

    Thank you

    That said, is there a more elegant way to achieve below. It is fill two XML fragments and concatenate together.

    Of course, why not just a single statement?

    Select XMLConcat)

    XMLElement (...)

    XMLElement (...)

    )

    in vTheResult

    Double;

    As is a second question, better to build and send XML as clob or XMLType fragments?

    I would say that staying with XMLType, but it depends on your condition.

    I generally avoid passing around data elements, SQL/XML functions are powerful in the way that they can be used with set operations, until their use in a piecemeal approach some deny what they are for.

  • I receive my messages, it shows that there are 6 in the Inbox, but when I click to them, nothing appears. whenever I click, nothing is available to read.

    I hit get new mail from pop.gmail. It shows that there are new messages. but when I try to open the Inbox, nothing appears. So frustrating.

    Please make sure that your settings are correct Mozillazine: use Gmail with Thunderbird

    You can also try to click with the right button on the folder of emails and click Properties > General information > 'repair file '.

  • Why is there a space to the left of the URL in the navigation bar?

    I use Firefox 24.0 (current version) on Windows 8. There is an excessive amount of whitespace to the left of the url. Why is that? Is there a way to justify the url to the left? I'll post a screenshot below.

    In another thread, this was linked to disable that add-on sometimes uses this space on the address bar. I don't remember that one, or if there is one solution other than he reactivation.

  • Previous/next buttons in Windows 7 Media Player 12 disabled when there are videos in the playlist

    original title: Windows 7 Media Player 12 previous/next buttons disabled when there are videos in playlist works well with music files

    I have 3 computers to windows 7 that all exhibit this same problem.

    I have playlists since older versions of media center and when I play a video playlist with the previous buttons and next player will be disabled. If the playlist has audio files it next and previous buttons work fine.

    It has always worked in other versions I know that it is a feature I use all the time so I would have noticed

    Hi keith278,

    You can use Windows Media Center to play your videos.
    1. Click Start
    2. In the Search box , type Media Center
    3. Click on Media Center
    4. Select the photos + videos (you should see the library of images, Favorites, play and video library)
    5. Select the video library
    6. Cross the guests to add your video to this library folders
    7. Double-click the video file you want to play
    8. You should see the possibility of play all the
    Let us know if that helps.

Maybe you are looking for