Help for writing xml

Hi all
I want to write an application of cfm to manage mp3 files by editing the ASX file, which is an xml-formatted file, as below:
< version ASX = "3.0" >
< Entry >
Enya < TITLE > < /title >
"< ref href =" http://www.xxx.com/mp3/enya.mp3 "/ > "
< / Entry >
< Entry >
love < TITLE > < /title >
"< ref href =" http://www.xxx.com/mp3/love.mp3 "/ > "
< / Entry >
< / ASX >
but when I edit the ASX file and write to the server, coldfusion adds a line <? XML version = "1.0" encoding = "utf-8"? > to the header of the ASX file and Microsoft Media Player can analyze it, how can I write an ASX file or XML file without the line <? XML version = "1.0" encoding = "gb2312"? > to the header of the file?

David
Thank you very much.

OK, I did it. Thank you all.

Tags: ColdFusion

Similar Questions

  • Help for writing an analytical application

    Hi all

    This is my first question, please be patient with my English, I'm Italian and do not write in a foreign language. ^_^

    I have a 'simple' with a large table problem.

    My table is really simple

    CREATE TABLE HH24

    (

    ACR VARCHAR2 (50 BYTE) NOT NULL,

    IDENTIFICATION NUMBER NOT NULL,

    DATAORA DATE NOT NULL,

    E0 NUMBER DEFAULT 0 NOT NULL,

    C0 NUMBER 0 NOT NULL DEFAULT,

    BY DEFAULT 0 NOT NULL NUMBER B0

    )

    It is large (> 50 GB) and partitioned on column DATAORA

    Now I need to extract a set of well defined data

    In a range of Data1 to data2 where data1 and data2 are ' dd/mm/yyyy hh24.

    sum of the E0 and B0 and C0 value for each day of the time range

    So, if I

    Data1 = to_date (January 7, 2015 07:00 ',' dd/mm/yyyy hh24 ')

    data2 = to_date (July 31, 2015 11:00 ',' dd/mm/yyyy hh24 ')

    I need an aggregation where a thake every day in the range from 07-11

    rank 1-> 07/01/2015 beetween 07:00 and 11:00

    Row 2-> 07/02/2015 beetween 07:00 and 11:00

    rank 3-> 07/03/2015 beetween 07:00 and 11:00

    ...

    line n-> 31/07/2015 beetween 07:00 and 11:00

    of course, I write a first step request to extract the sum, like this

    SELECT cab, id,

    SUM (c0) c0,

    SUM (e0) e0,

    SUM (b0) b0

    FROM (SELECT hh24.acr, hh24.id,

    HH24. C0 c0,

    HH24. E0 e0,

    HH24. B0 b0

    OF hh24

    WHERE hh24.acr =: nameacr

    AND hh24.dataora > = data1

    AND hh24.dataora < = data2)

    GROUP BY cab, id

    It works to gather data in an extraction of the day (00:00 to 23:59)

    Can someone help me to retrieve data only in the necessary time slot?

    P.S. obiouvsly problem is'n in the size of the table (or in my bad English, it's another problem)

    ^__^

    Thank you

    It won't be quick, but try something like this (note that it is not necessary for online viewing):

    SELECT cab, id,

    SUM (c0) c0,

    SUM (e0) e0,

    SUM (b0) b0

    OF hh24

    WHERE hh24.acr =: nameacr

    AND hh24.dataora > = data1

    AND hh24.dataora<=>

    AND TO_CHAR(hh24.dataora,'HH24:MI:SS') BETWEEN TO_CHAR(data1,'HH24:MI:SS') AND TO_CHAR(data2,'HH24:MI:SS')

    GROUP BY cab, id

  • Need your help for writing query complex!

    Kindly give me your suggestion to write a query for some situation...

    suupose he is 10 in a circle Distributor. and also in each Distributor, there are 10 FOS under each Distributor... and to each FSO, there are also numbers retailers...

    Please suggest how to write the query, there look like... (possible may through XML...

    Distributor1, FOS1, rt_count, FOS2, rt_count, FOS3, rt_count
    Distributor2, FOS1, rt_count, FOS2, rt_count, FOS3, rt_count
    ...
    ...
    ...
    8751090151, 8751090147:10, 8751090148:25, 8751090149:11... .etc


    Here it is the data...

    date_crt dist_msisdn f os_msisdn rt_count
    26 MARCH 13 7399998263 7399998263 1
    26 MARCH 13 8751090151 8751090147 10
    26 MARCH 13 8751090151 8751090148 25
    26 MARCH 13 8751090151 8751090149 11
    26 MARCH 13 8751090151 8751090151 1
    26 MARCH 13 8751090151 8751090152 40
    26 MARCH 13 8751090151 8751090326 11
    26 MARCH 13 8751090151 8751090327 70
    26 MARCH 13 8751090151 8751090328 29
    26 MARCH 13 8751090151 8751090335 1
    26 MARCH 13 8751090151 9577162731 8
    26 MARCH 13 8751090151 9613381589 38
    26 MARCH 13 8751090151 9613381790 14
    26 MARCH 13 8751090151 9613381969 13
    26 MARCH 13 8751090151 9613385207 42
    26 MARCH 13 8751090151 9613385284 12
    26 MARCH 13 8751090151 9613386523 52
    26 MARCH 13 8751090151 9613389220 91
    26 MARCH 13 8751090151 9613530655 1

    Published by: user3558544 on 1 April 2013 05:36

    Published by: user3558544 on 1 April 2013 07:09

    You can validate the query in the exactly the way you are runnin it and the text of the error?

    The query with the name of the table that you post could look like this:

    Select dist_msisdn, rtrim (xmlagg (xmlelement (e, os_msisdn |': ' | rt_count |))) ",") stopped by os_msisdn |': ' | (rt_count) .extract ('/ / text()'), ',') combinatoria_b
    of LBA_ALERT
    Dist_msisdn group

  • Seek help for writing a script

    Hello

    I made a form (with Adobe Acrobat Reader 9 Pro), I want to improve the way to display the data entered

    I did a screen capture which summarize the changes wanted.

    (1) I would like to be able to select the short date and display it like this: (jj/mm/aaaa)

    ( 2), I tried a script, but the field in the result column is always equal to 1 when nothing were entered in C1

    var a = this.getField ("result");

    h.Value = 0;

    var b = this.getField ("ValeurB");

    var c = this.getField ("make");

    a.Value = (b.value - c.value) + 1;

    (3) I have always (with my fingers lol) the elapsed time between the date started and finished, it is possible to write a script?

    (I've never used JavaScript before, this is my first experience)

    Thanks in advance for your help.

    english picture.jpg

    For the calculation of the #2, you can use the custom calculation script next to the field "result":

    // Custom Calculate script
    (function () {
    
        var b = getField("ValeurB").valueAsString;
        var c = getField("ValeurA").valueAsString;
    
        // Only perform the calculation if both fields have an entry
        if (b && c) {
    
            // Convert the string values to numbers
            b = +b;
            c = +c;
    
            // Set this field value
            event.value = b - c + 1;
    
        } else {
            event.value = 0;
        }
    
    })();
    
  • Help for writing a mathematical function

    Hello again,

    I work on a tile game and need to understand an equation... I have a 12 x 11 grid... When I place a tile, I need to check for the existence of other tiles on the same row and column and sum their values...

    I need to create an equation with the following variables: -.

    Gets a number between 1 and 132: -.

    divides or multiplies the number in all the possible divisions of 12 between 1 and 132

    Adds or subtracts the correct amount of tiles that are either dependent on its position

    (I stretched the grid and, for example, tile 66 has five tiles on each side, tile 121 a 11 to it is because it is in the lower left corner)

    Hope this makes some sense to someone... I am now starting work on it, but any help would be appreciated!

    Thank you

    Martin

    F1 will return a 2d array.  the first element of array contains all members of rank and 2nd of all the members of the column.

    Function f1(n:int):Array {}
    var m:int = n - 1;
    var row:int = Math.floor (m/12);
    var col: int = %(row*12) m;
    var rowA:Array = [];
    var colA: Array = [];
    for (var i: int = 0; i<12; i+)="">
    rowA.push (row * 12 + i + 1);
    If (i<11)>
    colA.push(col+i*12+1);
    }
    }
    return [rowA, colA];
    }

  • Help for writing an extension for SQL Developer

    Hi all
    I want to write an extension for SQL using JDeveloper and Oracle Extension SDK developer and I have a few questions.
    (1) is there some imports I need to sign up for the use of certain classes for SQL Developer?
    (2) how can I do a new item from the context menu in the area of connections in the left?
    (3) is there an example for this, because I have read a few posts of Sue and Kris Rice, but I figured out how to make the extensions only for JDeveloper.

    Thanks in advance!

    SQL Developer Connection browser uses a different site from the JDeveloper Application browser id. The site id OK to use for a listener from context menu is "db_nav". If your listener statement would look like this:


         
              My.listener.Class
         

    Note that a listener can be registered on several sites (if, for example, you wanted as your listener to trigger for publishers, you can use "db_nav; Editor"for the site id.

    You can post questions on the development of SQL Developer extensions on the developer forum SQL: SQL Developer this forum is monitored by the staff of SQL Developer.

    -John McGinnis
    SQL development team

    Published by: John Mcginnis, August 22, 2011 11:34

    Published by: John Mcginnis, August 22, 2011 11:36

  • Help for writing a loop

    Hello

    Can someone show me please how to change this code in a loop. At this point, it is only 10 but could be later if I wanted to learn the right way.

    _level0. Copy1.unloadMovie ();

    _level0.copy2.unloadMovie ();

    _level0.copy3.unloadMovie ();

    _level0.copy4.unloadMovie ();

    _level0.copy5.unloadMovie ();

    _level0.copy6.unloadMovie ();

    _level0.copy7.unloadMovie ();

    _level0.copy8.unloadMovie ();

    _level0.copy9.unloadMovie ();

    _level0.copy10.unloadMovie ();

    I tried this, but it did not work:

    xvar = 0;
    While (xvar < 11)
    {
    Yvar = "_level0.copy" + xvar

    yvar.unloadMovie ();

    xvar = xvar + 1;
    }

    Thank you

    Try...

    for (i = 1; i<11;>

    _level0 ["Copy" + i] .unloadMovie ();

    }

  • I downloaded the latest version of the DNG Converter Camera Raw version 9.1.1 for windows. However, I get error install the update saying "error opening file for writing. Also on my help menu updates is not active?

    I downloaded the latest version of the DNG Converter Camera Raw version 9.1.1 for windows. However, I get error install the update saying "error opening file for writing. Also on my help menu updates is not active?

    If the installation program itself fails to open and run. Download it again maybe your current download is corrupted. Also, what OS you are using and you are an administrator with permission to install.

  • Please, help me to install the a security update for Microsoft XML Core Services 6.0 Service Pack 2 (KB954459)

    I am running Windows XP Professional SP2 (32 bit).  My Windows Update is configured to inform me of updates that are available and to wonder what to do each time.

    For the last two months I have problems with these two updates:

    1. Update for Microsoft XML Core Services 6.0 Service Pack 2 (KB973686)
    2. a security update for Microsoft XML Core Services 6.0 Service Pack 2 (KB954459)

    Two of them are available for me to download and install every time I connect to the Internet. I always choose download and then install. The first update is always installed successfully, but continues to offered to me AGAIN and AGAIN. I have reviewed my story to update on the Microsoft Update site, where I can see that this update has been installed successfully for more than 10 times. But the continuous automatic updates offering him.

    Problem with the second update (a security update for Microsoft XML Core Services 6.0 Service Pack 2 (KB954459)) is worse still - IT STILL FAILS.  During the installation process, I get no error message, but in the end, I always get:
    «Updates could not be installed...» The following updates were not installed:
    A security update for Microsoft XML Core Services 6.0 Service Pack 2 (KB954459)
    ".»
    Of course, in my history of editing, he still has the red icon, and the error Code is 0 x 643.

    I tried to install it manually, so I downloaded the Service Pack msxml6-KB954459-enu - x 86 .exe (981 KB) from: http://www.microsoft.com/downloads/en/details.aspx?FamilyId=59914795-60c7-4ebe-828d-f28cb457e6e3&displaylang=en
    But when I ran it, I got this message:
    "Installation of MSXML 6 Service Pack 2 (KB954459) failed because a newer version already exists on the machine. "To continue, uninstall the higher version and re-run the installation of MSXML 6 Service Pack 2 (KB954459) program."

    I don't understand.  I thought this msxml6-KB954459-enu - x 86 .exe installation file for the update of safety only, but it has proved to be the Setup for the entire application.  And that means this "version more?  How did get on my computer?  And what do I need to uninstall?  In my Add/Remove Programs list that I don't have that:
    -MSXML 4.0 SP2 (KB954430)
    -MSXML 4.0 SP2 (KB973688)
    -MSXML 6 Service Pack 2 (KB973686)

    In my System32 folder, I have a file called msxml6.dll (created: 19 08.2009).  On the Properties dialog Version tab, I see that its version is 6.20.1076.0;  If that matters.

    My security programs are:
    -BitDefender Total Security 2010
    -Malwarebytes AntiMalware
    -Online Armor ++ Firewall
    (They are all up to date and none of them has ever interfered with the installation of any update of Windows or Microsoft).

    Can someone tell me please:
    1. What can I do to make the installation of this update for Microsoft XML Core Services 6.0 Service Pack 2 security
    (KB954459) succeed?
    2. what to do with an another update (update for Microsoft XML Core Services 6.0 Service Pack 2 (KB973686)) which
    constantly is available once again, although my editing history shows that it is installed successfully?

    And another question:

    These two updates prevent the automatic updates to offer upgrade to SP3 of XP?  I am currently on SP2, but I really need to upgrade to SP3; not only because support for SP2 has stopped, but more because there are more programs that require SP3 must be installed.  A month ago, automatic updates offered the update to SP3, but the installation failed for an unknown reason ("... the system could not find the specified file.").  I'm wrong if I think it will be offered me again only after I install these two updates correctly?

    First of all, you have 2 firewalls; ® Of BitDefender Total Security 2011 (block intruder (implement a two-way firewall)) and Online Armor

    "Do not use more of a firewall, 2 or more is a way sure to hit trouble, as with AV"

    Download & save the installer for WinXP SP3 on your desktop:

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=5b33b5a8-5e76-401F-BE08-1e1555d4f3d4&displaylang=en

    Windows XP SP3 - read all the prerequisites for a successful installation

    http://msmvps.com/blogs/harrywaldron/archive/2008/05/08/Windows-XP-SP3-read-all-prerequisites-for-a-successful-installation.aspx

    Logged in as administrator, if necessary, double-click the saved file to install WinXP SP3. Follow the prompts. must be patient and reboot twice when the installation is complete.

    Do the resolution method 2 here:

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

    Go to http://windowsupdate.microsoft.com . Install all required software, and then click CONTINUE. Select CUSTOM and scan | Install the critical updates of security offered. Still, follow all the instructions.

    04/13 / 1110:01: 33 am

  • A security update for Microsoft XML Core Services 4.0 Service Pack 2 for x 64 systems (KB954430)

    A security update for Microsoft XML Core Services 4.0 Service Pack 2 for x 64 systems (KB954430)

    Download size: 5.4 MB

    Whenever I start my laptop he wants to re-enstall service pack 2. How can I fix it?

    Glen Yoder

    Hi Gyoder,

    Thank you for visiting the forums!

    To resolve this issue, follow these steps:

    1. Click Start , click run , type cmd and press ENTER.
    2. At the command prompt, type ren %windir%\System32\msxml4.dll msxml4.old, and then press ENTER.

    Note When you press ENTER, you may receive the following error message.

    Cannot find the specified file.

    Ignore this message and proceed to step 3.

    3. At the command prompt, type exit and press ENTER.
    4. Visit the Microsoft Web site at the following address:

    5. Download and install the latest MSXML security update.

    For more information about this problem, go to

    http://VisualKB/VKBWebService/viewContent.aspx?scid=KB; EN-US; 941729 & PortalId = 1

    I hope this helps. Let us know.

    Dave D

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

  • A security update for Microsoft XML Core Services 4.0 Service Pack 2 for systems x 64 (KB954430) is not installed!

    A security update for Microsoft XML Core Services 4.0 Service Pack 2 for x 64-based systems (KB954430) is not installed. Windows Update fails to install this update and error reports: 64 C code. The off button displays an alert and when you place the mouse over it it shows "installs the updates and then shuts your computer." When I press it it says is to install the update and my computer shuts down and when I restart it it shows it is update and configuration of the update but when loading Windows Vista, in windows update, it shows that updated security for Microsoft XML Core Services 4.0 Service Pack 2 for systems x 64 (KB954430) becomes available again. I tried to manually install the update by downloading, but when trying to install windows install indicates: "the feature you are trying to use is on a network that is not available. Click OK to try again or enter a different path to the folder containing the installation package ' msxml.msi in the box below. »

    MSXML 4.0 SP2 (KB954430) and MSXML 4.0 SP2 appear in Control Panel programs and features. When I click on them the only option is 'an install. When I try to UN install these the same message appears when you try to install this update manually: "the feature you are trying to use is on a network that is not available. Click OK to try again or enter a different path to the folder containing the installation package ' msxml.msi in the box below. »

    To try to solve this problem, I emptied historical Windows Update. I tried Windows Installer Cleanup to remove MSXML 4.0 SP2 (KB954430) and MSXML 4.0 SP2 so I can reinstall it but Windows Installer Cleanup crashes and displays a command prompt with a lot of text.

    If Windows Update has found that you don't need, you don't have to worry about this. They probably have fixed an error in the update system.

    Messages rating helps other users

    Mark L. Ferguson MS - MVP

  • Security update for Microsoft XML Core Services 4.0 service pack 2 for x 64 systems (kb954430) _

    Tried to update the computer and this error came, help please

    For Microsoft XML Core Services 4.0 Service Pack 2 security updates may repeatedly appear in the update on Microsoft Update or Windows Update list

    See http://support.microsoft.com/default.aspx/kb/941729/> for possible help.

    If you cannot rename msxml4.dll in normal Windows mode, the http://support.microsoft.com/kb/315222Safe Mode start > and do it from there:

    How to get help and support for this update954430 Microsoft XML Core Services 4.0 Service Pack 2 KB

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    For more information about how to contact your local Microsoft subsidiary for support questions with security updates, visit the Microsoft International Support Web site:

    http://support.Microsoft.com/common/international.aspx?rdpath=4>

    North American customers can also obtain instant access to unlimited support free of charge e-mail or unlimited individual chat support by visiting the Microsoft Web site at the following address:

    http://support.Microsoft.com/OAS/default.aspx?&PRID=7552>

    For enterprise customers, support for security updates is available through your usual support contacts.

    Source: http://support.microsoft.com/kb/954430>

  • A security update for Microsoft XML Core Services 4.0 Service Pack 2 (KB954430)

    HELP! Whenever I turn my laptop HP Windows Update keeps saying that I have an "update important' to be installed. For the first two times I installed it, and the Windows Update thing always tells me that it was "installed successfully" but everytime I turn on my CPU it keeps saying I need to install the a security update for Microsoft XML Core Services 4.0 Service Pack 2 (KB954430)!

    Why he does this. It automatically installed this 75 times UPDATE... What is going on! Help, please!

    http://support.Microsoft.com/kb/954430
    08-069: description of the update of security for XML Core Services 4.0: November 11, 2008

    See the known issues section and if it is of any help, see "where to find the section of assistance" for this update.

    K TaurArian [MVP] 2005-2010 - Update Services

  • This security update is constantly appearing: a security update for Microsoft XML Core Services 4.0 Service Pack 2 (KB954430) I successfully download the update and then it reappears to be downloaded again. ___

    Automatic updates of Windows

    This security update is constantly appearing: a security update for Microsoft XML Core Services 4.0 Service Pack 2 (KB954430) I successfully download the update and then it reappears to be downloaded again.

    See the sections «How to get help...» "and 'known issues' here:
    http://support.Microsoft.com/kb/954430

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    For enterprise customers, support for security updates is available through your usual support contacts.
    Read also: http://support.microsoft.com/kb/941729/

    Hope this helps, Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003.
    My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo

  • Why the a security update for Microsoft XML Core Services 4.0 Service Pack 2 (KB954430) install several times?

    The update of security for Microsoft XML Core Services 4.0 Service Pack 2 (KB954430) repeatedly downloads and installs on my computer.  I'm up to about 25 installs (to date).  How can I get it to stop?  I am running Vista Home Premium SP2...

    Hello

    Seems that many have a problem with the update.

    Since that he has installed to HIDE the update in Windows Update. Then use them to stop trying to re - install.

    You can use the solutions in this KB - 3 methods and I listed a little help for them below

    The update is not installed successfully, you receive a message, and the computer restarts when you try to
    install an update in Windows Vista
    http://support.Microsoft.com/kb/949358

    Method 1: Start Windows Vista with the Windows installation media and use the repair feature

    How to do a startup repair in Vista
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    You can also do a safe mode startup repair to access the Recovery Options If you have them available
    or use the DVD as described above.

    This tells you how to access the System Recovery Options
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    Method 2: Start the system in safe mode and then use the system restore feature

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can also do a restore of the system of starting with a Vista disk.

    Method 3: Rename the Pending.xml file, and then change the registry (this method is part of the advanced troubleshooting)

    See article below for that.

    You can use this method on the updates that have this problem.
    http://support.Microsoft.com/kb/949358

    --------------------------------------------------------

    Then follow these steps:

    How to reset the Windows Update components?
    http://support.Microsoft.com/kb/971058

    Description of the system for Windows Vista, Windows Server 2008, update tool
    and for Windows 7
    http://support.Microsoft.com/kb/947821

    --------------------------------------------------------

    If necessary:

    KB954430 is a security update in order to get assistance directly from Ms.

    Since this is a security update, you can get free Support
    http://www.Microsoft.com/protect/resources/support.aspx

    Rob - bicycle - Mark Twain said it is good.

Maybe you are looking for