Help! -Unload-remove an XML file

Hello
I am new to action script 3 and I have a problem.
On my site I have mp3 player whit 4 albums (playlits) in 4 XML files.
I play the playlist of firs and everthing is ok, but when I go to the next playils stil game first game player list ... is it possible to clear all the xml files in memory until I have play the next playlist...
Thanks in advance

OK... I have commented the code I changed the code on the timeline... mp3players it works now...

I hope this thing fixed my file... usually, it doesn't but lets see...

Tags: Adobe Animate

Similar Questions

  • Need help to read the xml file and place it in a table.

    Nice day!

    Here is the configuration. I have a xml file from another source which will call a stored procedure in my database (which I am supposed to create). This is a first for me, I've never done development pl/sql or worked with xml. :(

    That's what I hoped to accomplish, if there is a better way, that I am open to him.
    In short, to have a stored procedure that takes the xml file (transmitted by third parties via the call, no url must be a file), creates a temporary table and populates the two columns needed. Then, the SP will make a select join with the temporary table and other data available in another schema. Once the completed table selection will be truncated and dropped. SP farm.

    Details:
    DB: Oracle 11.2.0.1 RAC.
    Charset: AL32UTF8
    Example of XML: (nearly 10,000 lines like this in production)
    "< MerchantID report =" "#" name = 'Conversion detail report' ReportStartDate = '2011-09-27 12:00:00GMT' ReportEndDate = '2011-09-27 21:38:13GMT"Version ="1.1"> < Conversion = '1234567891234567 D' MerchantReferenceNumber Convertingdate =" 2011-09-27 13:39:02 "RequestID ="1234567891234567891234"> < OriginalDecision > REVIEW < / OriginalDecision > < NewDecision > ACCEPT < / NewDecision > < Reviewer > testusr < / examiner > < ReviewerComments > no reason to reject. < / ReviewerComments > < Notes > < Note Date = "2011-09-27 13:39:02" AddedBy = "testusr" comment = "Took possession" / > < / Notes > < queue > Digital Review < / queue > < profile > Digital orders QA < / profile > < / Conversion > "
    ...
    < / report >

    What I tried.
    I found a tutorial: http://it.toolbox.com/blogs/oracle-guide/oracle-and-xml-in-action-a-real-world-example-5319 I tried and was able to make it work. But I could not duplicate the results with my xml file. So I looked away and have had no success. :( I'm not a developer, so I'm really bad...

    I found a note of support: (how to load an XML file into a Database Table using DBMS_XMLSave unaided Bfile [227476.1 ID]) and couldn't make it work.

    I found some online then Odie son xml and tried these but slipped and couldn't get my versions of these great answers to work for me.

    Then... I'm here now and hoping that someone could walk me through this.


    I tinkered this SP (it doesn't have to be that way, the suggestions are greatly appreciated)

    create or replace procedure xml_to_table (call_1 call_2) as

    Start
    run immediately "CREATE GLOBAL TEMPORARY TABLE XMLType IMRPT
    --(clé primaire contrainte-imrpt_pk (MerchantReferenceNumber))
    XmlType store as xml binary basicfile
    -(high compression)
    virtual columns
    (MerchantReferenceNumber as (xmlcast (xmlquery ('/ Conversion/MerchantReferenceNumber ' from object_value content back) as VARCHAR2 (32))))
    , NewDecision as (xmlcast (xmlquery ('/ Conversion/NewDecision ' from object_value content back) as VARCHAR2 (10)))
    )
    -ON COMMIT PRESERVE ROWS

    run immediately 'save xml as a file on the local system?'

    insert into IMRPT (MerchantReferenceNumber, NewDecision)

    run immediately "join select statement.
    run immediately 'truncate table IMRPT.
    run immediately "drop table IMRTP.

    end;
    /

    On my last test, I tried to select just in the xml file using this:

    DECLARE
    indomdoc DBMS_XMLDOM. DOMDocument;
    innode DBMS_XMLDOM. DOMNode;
    myParser DBMS_XMLPARSER.parser;
    buf VARCHAR2 (2000);
    BEGIN
    myParser: = DBMS_XMLPARSER.newParser;

    DBMS_XMLPARSER.setBaseDir (myparser, 'XML_DIR');
    DBMS_XMLPARSER. Parse (myParser, "test.xml");

    indomdoc: = DBMS_XMLPARSER.getDocument (myParser);

    -just to test content
    innode: = DBMS_XMLDOM.makeNode (indomdoc);
    DBMS_XMLDOM.writeToBuffer (innode, buf);
    Dbms_output.put_line (BUF);

    dbms_xmldom.freeDocument (indomdoc);
    dbms_xmlparser.freeParser (myParser);
    END;
    /

    It was another accident and burn.

    Any help would be appreciated.

    Thank you

    Like I said:

    Here is an example using a REF CURSOR variable ( you will need to declare a plus for your actual procedure )

    Your procedure has two parameters, you must declare two variables to hold the two REF CURSOR ;)

    DECLARE
    
      v_filename      VARCHAR2(50) := 'DMReport.xml';
      v_rc1            SYS_REFCURSOR;
      v_rc2            SYS_REFCURSOR;
    
      v_order_name       VARCHAR2(100);
      v_reason_text      VARCHAR2(100);
    
    BEGIN
    
      xml2table(v_filename, v_rc1, v_rc2);
    
      commit;
    
      loop
        fetch v_rc1 into v_order_name;
        exit when v_rc1%notfound;
        dbms_output.put_line('ORDER_NAME='||v_order_name);
      end loop;
    
      close v_rc1;
    
      loop
        fetch v_rc2 into v_order_name, v_reason_text;
        exit when v_rc2%notfound;
        dbms_output.put_line('ORDER_NAME='||v_order_name||', REASON_TEXT='||v_reason_text);
      end loop;
    
      close v_rc2;
    
    END;
    /
    

    If you test this in SQL * Plus, do not forget to SET SERVEROUTPUT ON to see the result.

  • Need help with loading the XML file

    Hello

    I spent reviewing the web/forums for an example on how to do this for a few days now.  I managed to get this working in Flash Pro easily enough, but I think I'm missing something when I want to do the same thing in Flex.

    Basically, I want to load an XML file and then set the values of the text of labels 5, equal to the data in the XML file.

    So I have a button created in MXML and have put the following click event:

    Click = "dsSetup (Event)" "

    I also stated the following:

    public var myRequest:URLRequest = new URLRequest ("assets/myFile.xml");   folder located under the CBC in project

    public var myLoader:URLLoader = new URLLoader();

    public var myXML:XML;

    My function that loads is as follows:

    public function dsSetup(event:MouseEvent):void

    {

         trace ("dsSetup");

    myXML = new XML (myLoader.data);

    H3. Text = myXML.source.itemA;

    H4.text = myXML.source.itemB;

    H5.text = myXML.source.itemC;

    H7.text = myXML.source.itemD;

    H8.text = myXML.source.itemE;

    currentState = "MainMenu";

    }

    myLoader.addEventListener (Event.COMPLETE, dsSetup);   I think that this line is no longer as I put it in the MXML

    myLoader.load (myRequest);

    It's the way I did in Flash and it worked fine, but I must be missing something when it comes to Flex.

    Can you explain or point me to a good tutorial that shows how to load XML in Flex code?

    Those I've found seems to have about 50 lines of code just to load a file and add through a complex for a beginner.

    Thank you very much

    I suggest you save the data loaded in a variable that can be linked, then bind the properties of the text - who:

    [Bindable]

    var myXML:XML;

    public void dsSetup(event:MouseEvent):void

    {

    myXML = new XML (myLoader.data);

    currentState = "MainMenu";

    }

    ...

  • Need help to retrieve the XML file

    Hello

    I'm new to xml query and I need help badly. I have a file xml with the following content. I need help to extract data as:

    beginTimelocalDnmeasObjLdnhdlcRxErrAborthdlcRxErrCRChdlcRxErrLackOfBufs
    2015 07-28 T 14: 45:00 + 03:00ERSGSN01MagId.SlotId.E1/T1Trunk.FractionId=2.8.6.1240010200
    2015 07-28 T 14: 45:00 + 03:00ERSGSN01MagId.SlotId.E1/T1Trunk.FractionId=2.9.3.1000
    2015 07-28 T 14: 45:00 + 03:00ERSGSN01MagId.SlotId.E1/T1Trunk.FractionId=2.9.4.1000

    and the XML data I have are:

    <? XML version = "1.0" encoding = "UTF-8"? >

    <? XML-stylesheet type = "text/xsl" href = "MeasDataCollection.xsl"? >

    " < measCollecFile xmlns =" http://www.3GPP.org/FTP/specs/archive/32_series/32.435#measCollec ">

    < fileFormatVersion = "32.435 V9.0" fileHeader vendorName = "Ericsson" >

    < fileSender / >

    < measCollec beginTime = "2015-07 - 28 T 14: 45:00 + 03:00" / >

    < / fileHeader >

    < measData >

    < managedElement localDn = "ERSGSN01" / >

    < measInfo measInfoId = ' E1/T1, hdlc' >

    < job jobId = "Meas_E1T1_all" / >

    < duration granPeriod = "PT900S" endTime = "2015-07 - 28 T 15: 00:01 + 03:00" / >

    < duration repPeriod = "PT900S" / >

    < p measType = "1" > hdlcRxErrAbort < / measType >

    < p measType = "2" > hdlcRxErrCRC < / measType >

    < p measType = "3" > hdlcRxErrLackOfBufs < / measType >

    < p measType = "4" > hdlcRxErrMaxFrameLen < / measType >

    < p measType = "5" > hdlcRxErrNonOctetAlign < / measType >

    < p measType = "6" > hdlcRxErrQueue < / measType >

    < p measType = "7" > hdlcRxOK < / measType >

    < p measType = "8" > hdlcRxOctets < / measType >

    < p measType '9' = > hdlcTxOK < / measType >

    < p measType = "10" > hdlcTxOctets < / measType >

    < measValue measObjLdn="MagId.SlotId.E1/T1Trunk.FractionId=2.8.6.1" >

    < p r = "1" > 2400 / < r >

    < p r '2' = > 1020 / < r >

    < p r = "3" >/< r > 0

    < p r = "4" >/< r > 0

    < p r = "5" > </r > 0

    < p r = "6" >/< r > 0

    < p r = "7" >/< r > 0

    < p r = "8" > 0 </r >

    < p r '9' = > 295 / < r >

    < p r = "10" > 4130 / < r >

    < / measValue >

    < measValue measObjLdn="MagId.SlotId.E1/T1Trunk.FractionId=2.9.3.1" >

    < p r = '1' >/< r > 0

    < p r = "2" >/< r > 0

    < p r = "3" >/< r > 0

    < p r = "4" >/< r > 0

    < p r = "5" > </r > 0

    < p r = "6" >/< r > 0

    < p r = "7" >/< r > 0

    < p r = "8" > 0 </r >

    < p r '9' = > 295 / < r >

    < p r = "10" > 4130 / < r >

    < / measValue >

    < measValue measObjLdn="MagId.SlotId.E1/T1Trunk.FractionId=2.9.4.1" >

    < p r = '1' >/< r > 0

    < p r = "2" >/< r > 0

    < p r = "3" >/< r > 0

    < p r = "4" >/< r > 0

    < p r = "5" > </r > 0

    < p r = "6" >/< r > 0

    < p r = "7" >/< r > 0

    < p r = "8" > 0 </r >

    < p r '9' = > 295 / < r >

    < p r = "10" > 4130 / < r >

    < / measValue >

    < / measInfo >

    < / measData >

    < fileFooter >

    < measCollec = endTime "2015-07 - 28 T 15: 00:01 + 03:00" / >

    < / fileFooter >

    < / measCollecFile >

    Help, please. I tried to select a value using the following xml query which does not lead to any output:

    WITH t AS (SELECT xmltype (bfilename('SGSN_STAT_ERICSSON', 'A20150728.1445+0300-20150728.1500+0300_Meas_E1T1_all.52'), nls_charset_id('UTF-8')) FROM dual xmlcol)

    SELECT beginTime, localDn, measObjLdn, hdlcRxErrAbort, hdlcRxErrCRC, hdlcRxErrLackOfBufs

    T, XMLTABLE

    (XMLNAMESPACES ('http://www.3gpp.org/ftp/specs/archive/32_series/32.435#measCollec' as 'ns1'), )

    ' / measCollecFile'

    passage xmlcol

    columns

    beginTime PATH VARCHAR2 (32) ' / measCollec/@beginTime',

    localDn PATH VARCHAR2 (32) ' / measData/managedElement@localDn',

    measObjLdn PATH VARCHAR2 (32) ' / measData/measInfo/measValue@measObjLdn',

    ["hdlcRxErrAbort PATH VARCHAR2 (32) ' / measData/measInfo/measValue/r[@p="1 ']',

    ["hdlcRxErrCRC PATH VARCHAR2 (32) ' / measData/measInfo/measValue/r[@p="2 ']',

    "[" hdlcRxErrLackOfBufs PATH VARCHAR2 (32) ' / measData/measInfo/measValue/r[@p="3 ']"

    )

    Sincere greetings

    Either way, using an XQuery FLWOR expression:

    select x.*
    from xmltable(
           xmlnamespaces(default 'http://www.3gpp.org/ftp/specs/archive/32_series/32.435#measCollec')
         , 'for $h in /measCollecFile
              , $v in $h/measData/measInfo/measValue
            return element row {
              $h/fileHeader/measCollec/@beginTime
            , $h/measData/managedElement/@localDn
            , $v/@measObjLdn
            , element r1 {$v/r[@p="1"]}
            , element r2 {$v/r[@p="2"]}
            , element r3 {$v/r[@p="3"]}
            }'
           passing xmltype(bfilename('TEST_DIR', 'test.xml'), nls_charset_id('AL32UTF8'))
           columns beginTime           timestamp with time zone path '@beginTime'
                 , localDn             varchar2(32)             path '@localDn'
                 , measObjLdn          varchar2(80)             path '@measObjLdn'
                 , hdlcRxErrAbort      number                   path 'r1'
                 , hdlcRxErrCRC        number                   path 'r2'
                 , hdlcRxErrLackOfBufs number                   path 'r3'
         ) x ;
    
  • Helps to remove the remaining files after removal of CA security.

    I tried to uninstall CA would not delete. So I downloaded the removal of CA security tool and it uninstalled the program. However he left 6 files behind and I tried to remove them. I get the prompt that I need permission to delete these files. I added "everyone" as a user with full control to try to remove that also, it did not work. I have also a pc tuneup program with a built in file shredder and it also has no effect. Any ideas?

    Have you tried the Revo uninstaller?

    http://www.revouninstaller.com/

  • Help page web _main.xml file

    I had really big problem for my web...

    Scene = scene 1, layer = Layer Action, frame = 5, line 41There is no property with the name 'displayState '.
    Symbol = 339, layer = layer 5 sprite, image = 1, line 3There is no property with the name 'displayState '.
    Symbol = 339, layer = layer 5 sprite, image = 1, line 5There is no property with the name 'displayState '.
    Symbol = 339, layer = layer 5 sprite, image = 1, line 9There is no property with the name 'displayState '.

    For code trees is

    {

    closeObjSeand.useHandCursor = true;

    textObj.htmlText = "";

    closeObjSeand._visible = false;

    closeObjClear._visible = false;

    } / / end if if

    };

    * if (Stage.displayState == "fullscreen")

    {

    next

    (release)

    {

    * if (Stage.displayState == 'normal')

    {

    Stage.displayState = "fullscreen";

    }

    on the other

    {

    Stage.displayState = "normal";

    } / / end if if

    }

    about (overview)

    {

    _parent.gotoAndPlay ("S1");

    }

    on (releaseOutside, deployment)

    {

    _parent.gotoAndPlay ("S2");

    }

    next

    identical to the previous

    and final

    (release)

    {

    If (Stage.displayState == 'normal')

    {

    Stage.displayState = "fullscreen";

    }

    on the other

    {

    *       Stage.displayState = "normal";

    } / / end if if

    }

    about (overview)

    {

    _parent.gotoAndPlay ("S1");

    }

    on (releaseOutside, deployment)

    {

    _parent.gotoAndPlay ("S2");

    and when I go to control > > > test movie > > test

    I have this error

    XML HAS NO CHARGE! (33634_main.xml)

    Error opening URL "file:///C|/Users/name/Desktop/33634/33634_main.xml".

    I don't know what the problem was, if someone can tell me that I would be grateful!

    And when I export the .swf file will not start I have to press Enter to make the video started

    Best regards!

    you are using the as1/as2 code and publish for as3.

    change your publication settings (file > publishing settings > flash or swf) to use as2.

  • How to remove an xmltype table .xml file?

    Hi expert,

    I'm in I'm in Oracle Enterprise Manager 11 g 11.2.0.1.0.
    SQL * more: Production of release 11.2.0.1.0 killed him Feb 22 11:40:23 2011

    I inserted 3 .xml files in an xmltype table: DOCUMENT

    SQL > SELECT OBJECT_VALUE FROM document;

    OBJECT_VALUE
    -----------------------------------------------------------------------
    <? XML version = "1.0" encoding = "WINDOWS-1252"? >
    <? XML-stylesheet href = "http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type = "text/xsl"? >
    < document xmlns = "" urn: hl7 - org:v3 "xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLoc"
    action = "" urn: hl7 - org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd ' classCode 'DOC' = > "
    < root id = "5ca4e3cb-7298-4948-8cc2-58e71ad32694" / >
    < code = c '51725-0.

    <? XML version = "1.0" encoding = "WINDOWS-1252"? >
    <? XML-stylesheet href = "http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type = "text/xsl"? >
    < document xmlns = "" urn: hl7 - org:v3 "xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLoc"
    action = "" urn: hl7 - org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd ' classCode 'DOC' = > "
    < root id = "03d6a2cd-fdda-4fe1-865d-da0db9212f34" / >
    < code = c '51725-0.

    <? XML version = "1.0" encoding = "WINDOWS-1252"? >
    <? XML-stylesheet href = "http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type = "text/xsl"? >
    < document xmlns = "" urn: hl7 - org:v3 "xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLoc"
    action = "" urn: hl7 - org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd ' classCode 'DOC' = > "
    < root id = "09ff06d6-8b85-43dd-b5cc-e22d00f02bd0" / >
    < code = c '51725-0.

    I tried to remove an xml file which with root id = "03d6a2cd-fdda-4fe1-865d-da0db9212f34'"

    delete the document
    where xmlexists (' $p/document/id [@root = "03d6a2cd-fdda-4fe1-865d-da0db9212f34"]' in PASSING OBJECT_VALUE AS "p");

    but failed.
    Y at - it that can help any expert?

    Thank you very much!

    Cow

    Published by: cow on March 11, 2011 19:02

    Hello

    Namespace problem.
    You must declare it in the XQuery Prolog:

    DELETE FROM document
    WHERE XMLExists( 'declare default element namespace "urn:hl7-org:v3"; (::)
                      $p/document/id[@root=$root_value]'
                     passing object_value as "p",
                             '03d6a2cd-fdda-4fe1-865d-da0db9212f34' as "root_value" )
    ;
    
  • I need help to remove duplicate files

    I have MANY files duplicate on my, new to me, the laptop. Including but not limited to photos and lower costs.  I would like to delete all the duplicate files and other unnecessary junk files and I could use some (a lot) of help. I'm not that effective with the numeracy skills so I need it set as simple as possible.  Thanks for any help you give.   Its a Dell computer inspiron laptop if that means something.

    Use Bing or Google to find 'duplicate file remover' or 'duplicate file finder' - there are several dozens of utilities that can do it for you.

  • How can I save xml file n, run the xml file? Please help me

    How can I save xml file n, run the xml file? Please help me

    Hello

    The question you have posted will be well suited in the MSDN forum. Click on the link below.

    http://social.msdn.Microsoft.com/forums/en/categories/

    In the meantime, I suggest you to return the item mentioned below.

    How to use XML Notepad to create an XML document

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

  • Need help to remove the files of the United Nations necessary for the command line

    Original title: DELETING FILES

    I have a large amount of support .png files that have been placed on my C:\ drive, by some malicious programs or the system.  Whatever it is, I want to remove them because they take a disproportionate amount of space (about 25 GB to an indicative value).  They are in a sub-sub-sub etc directory and appear to be copies of random images as advertisements for computers, cars, soccer players and goodness knows what else, since every time I try to see, explore stops at halfway through, due to the large amount of files.

    So my question is: is there a way to delete these files without the help of Windows Explorer, for example by using a command line? or is there another utility of file management that I could use?

    I would appreciate help on this.

    Start > type CMD

    Right click on CMD and select run as administrator

    You type the command DEl as written in the link I mentioned earlier.  Just make sure that you type the location of the file and names as you see them on your system.

    This is another article about the MS BACK Del command

    http://www.computerhope.com/delhlp.htm

    Edit: This may be temporary files from Web pages, that you have seen.  Try this before you use the DEL command.

    Tools > Internet Options > general tab

    Click on delete

    Uncheck data Preserve favorite

    Check all the other available options

    Click on delete

    Windows will remove these temporary files

    Click Ok

    Then, go to start > my computer

    Select the C drive

    In search type *.tmp

    This is more temporary files stored on the computer

    Press Ctrl + A to select

    Press DELETE to remove all the

    You may receive a message file is in use, press on ignore

    Empty folder cookies as well - C:\Users\username\cookies

    Do not delete the file; all content

    I forgot to add.  Once you type the command del, press ENTER to execute it.

  • Need help with the help of an xml file for changes in the system profile

    I'm looking to accelerate the deployment of new rack-mounted servers by updating their server through xml import profile information and I'm stuck.

    I am able to successfully export the profile as an XML to NFS.

    I'm not having luck changing data to import.

    My first attempt great base is simply by changing the name of drac.

    Here are the contents of the xml file that I am trying to import:

    ");" >
    laboratories-001-dev-a01 - dc1.example .net
    The job fails.

    Any ideas on what I am doing wrong?

    Hi Martin,

    I found my problem.

    In the GUI, you can enter a COMPLETE domain like something.example.com name in DNS Rac name field.

    Who will fail via importing a racadm as apparently a. is not allowed during the updating of the attribute "NIC.1 #DNSRacName".

    Is this a bug of the DRAC?

  • Hoax call on notifications about a virus tries to hijack your computer and ask for help to remove the files?

    OT: security.

    Dear community,

    Did anyone out there contacted by "windows" say you they receive notifications about a virus tries to hijack your computer and ask for help to remove the files? Initially, it was an area code 855, but now the number is unavailable. I get a lot of calls.

    any help would be appreciated

    Thank you

    Hello

    It's a scam.

    Here are the tips that we regularly give the posters who receive these types of calls:

    We have all the errors and warnings in our Event Viewer

    Either these so-called "Microsoft" Tech companies want to sell you a worthless software, or remote access to your computer to try to steal your credit card and bank information and also achieve an identity theft on you.

    You are the only person who knows if you gave them remote access.

    If you gave them remote access and you do Internet banking, contact your bank, to explain, and change passwords.

    If you use your online credit card, cancel and get a new one issued to you.

    And the only way that willl you know that you are free to them is to backup your data and do a clean install of your operating system.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    And Microsoft does not contact you unless YOU have made prior arrangements with them to do.

    There is an article in the link I'm you provide at the end of this one

    Read this Information from Microsoft:

    "Avoid scams to phone for tech support.

    http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspx

    Don't be fooled of unsolicited calls. Don't provide personal information.

    Here are some of the organizations that cyber criminals claim to come:

    • Helpdesk Windows

    • Windows repair center

    • Microsoft technical support

    • Microsoft technical support

    • Windows Support Group Technical Department

    • Microsoft Research and Development Team (team of Microsoft R & D)

    See you soon.

  • load the xml file into a database to help table of travel point

    Hello

    Someone help me please with a possible approach. I have an interface for APEX users where users can download a file xml in apex table wwv_flow_files using the element to browse with a button "submit". Now, after loading the xml file in the wwv_flow_files table. I need to read and load the xml data into a table sample_tbl. I'm using the version of Oracle APEX 4.0 and Oracle 10 g R2 database. Here is an example of XML file to load. Please help me possible suggestions.

    <? XML version = "1.0" encoding = "UTF-8"? >

    < dataroot generated =... >

    < MySample >

    < KeyId > 1234 < / KeyId >

    eddskc < KeyName > < / KeyName >

    < scheduleDate > 2013-06-16T 00: 00:00 < / ScheduleDate >

    < StartTime > 2013-06-16T 08: 00:00 < / StartTime >

    < EndTime > 2013-06-16T 08:30:00 < / EndTime >

    < / MySample >

    < MySample >

    < KeyId > 5678 < / KeyId >

    jppdf < KeyName > < / KeyName >

    < scheduleDate > 2013-05-19T 00: 00:00 < / ScheduleDate >

    < StartTime > 2013-05-19T 08: 00:00 < / StartTime >

    < EndTime > 2013-05-19T 08:30:00 < / EndTime >

    < / MySample >

    < / dataroot >

    Thanks in advance.

    Thank you

    Orton

    orton607 wrote:

    My sample_tbl has a start_time field and its data type DATE.

    Good.  Be sure to always store dates as the DATE.

    The application (in this case, APEX) needs to format the date date type in the appropriate human-readable format.

    The problem with the incoming data is the 't'.  You will need to convert a space using REPLACE() in the framework so that your SELECT statement

    From there on, conversion to the DATE data type is simply

    to_date( replace( start_time_str, 'T', ' '), 'YYYY-MM-DD HH24:MI:SS') as start_time
    

    And, just in case where, the conversion of DATE for the desired format:

    to_char( start_time, 'MM/DD/YYYY HH12:MI:SS AM')
    

    Although, I'm 'hours' as being left-padded with zeros... Am I looking for how / if you can get rid of the zero prefix (0).

  • Need to remove the tags file Nullable while generating XML files

    Hello.

    I have a requirement where I have to generate an XML file, but the generated XML file does not display the tags when the column is null. An example below:

    CREATE TABLE emp_tab (emp_id NUMBER PRIMARY KEY
    name VARCHAR2 (20).
    dept_id NUMBER);
    Table created.
    INSERT INTO emp_tab VALUES (30, 'Scott', NULL);
    1 line of creation.
    INSERT INTO emp_tab VALUES (31, 'Mary', NULL);
    1 line of creation.
    INSERT INTO emp_tab VALUES (40, 'John', NULL);
    1 line of creation.
    COMMIT;

    When I generate the XML code, you can find the output like below:
    < EMPLOYEE >
    < EMP_ID > 30 < / EMP_ID >
    Scott < NAME > < / NAME >
    < / EMPLOYEE >

    I just the Worklfow Developer's Guide and the example above was taken from Page 561 and 562 by looking at the DBMS_XMLGEN.setNullHandling using DBMS_XMLGEN procedure. DROP_NULLS as a parameter.

    Now, I understand the concept, but my requirement is a little different. I get a record as my procedure parameter PLSQL type, but requires the choice of a base table, which means maybe I have to insert first the folder I get as parameter in a table of basic and then select in the same when you set the context, which is what I don't want in the DBMS_XMLGEN.newContext. This is an additional burden.

    I've previously planned to use XMLELEMENT and XMLFOREST to generate the XML file (and was rather more simple), but this requirement to remove the tags altogether when the values are NULL led me to believe that maybe I might have to go down the path of using the API DBMS_XMLGEN.

    Can you suggest a better way, replacement to achieve what I want? Or perhaps give an example on how I can get there using XMLDB?


    Thank you and best regards,
    JD

    Can I use just the XMLElement and XMLForest to achieve?

    Sure. As said, XMLForest does not create elements for NULL values:

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb13gen.htm#ADXDB5006

    If the expression value is null, then no element is created for this expression.

    This is the code I wrote your above mentioned suggestion discussion forum

    Yes, but this solution is taken out of context.
    Here, it is obviously preferable to not generate empty items in the first place:

    SELECT XMLElement("Address"
           , XMLForest(
               lr_addr_rec.account_name     as "AccountName"
             , lr_addr_rec.address_line_1   as "Addressline1"
             , lr_addr_rec.lot_number       as "Addressline1"
             , lr_addr_rec.address_city     as "City"
             , lr_addr_rec.address_state    as "State"
             , lr_addr_rec.address_postcode as "PostCode"
             )
           )
    FROM dual;
    
  • Why help exit Eclipse produces several eclipse_whtdata.xml files?

    I have a project in Robohelp 9 (created with RoboHelp HTML 9.0.2).

    I choose to export as an Eclipse help (it's almost the same as webhelp).

    Our Chief technician integrates my output using Eclipse files exported in the Eclipse IDE help

    as a separate book. The user can expand our parent book in several books and shows the topics.

    The topics in this project are about 300.

    Our question:

    How we can put in place our project files or book in Robohelp which will generate a single Eclipse whtdata file which will include all table of contents entries.

    Our problem:

    The project generates several (currently 6) eclipse_whtdata files.

    It generates a file toc.xml with a child < section > element that points to a file of whtdata eclipse as follows: < toc link = "eclipse_whtdata1.xml" >

    The eclipse_whtdata1.xml has labels of table of contents and links to topics.

    In the eclipse_whtdata1.xml file, there are 5 cases of labels of table of contents and links that point to other files eclipse_whtdata.

    So we get 6 eclipse_whtdata.xml files, numbered from 1 to 6. Links folder number 1 to the files numbered from 2 to 6.

    I tried to identify a model, and I see no difference in the way books are set up in the Robohelp project and no difference in the way the subjects are related to books, etc. I even deleted a few books and recreated them.

    The Robohelp project has a parent book, with a related subject.

    This topic contains links to all the first level child books and some autonomous subjects.

    Each book of the child has a topic with links to all his books child or the children.

    No errors are displayed in the output on the generation.

    Thanks for any help or pointers, you can provide.

    Cynthia

    Hi Cynthia

    When you look in RoboHelp at the single Source Layouts pod, think of it in the same way you would think of a box to recipes in your kitchen. Inside of the box recipes are often the recipe cards that contain the settings for each dish, you can create. If each of the elements inside the carrycot single Source Layouts is equivalent to using a recipe card. The map contains all the parameters that govern the way in which this specific output is created.

    As you work your way through the different areas of settings, one is usually labeled Navigation. And in this area is a labeled frame Speed of Optimize For.

    The setting here determines whether the navigation elements are spllit into small pieces or left in a larger file. Try making sure that the option here is set for the Local or Intranet computer.

    Just give it a try and see if it helps... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

Maybe you are looking for

  • Network drivers for Laserjet p2035n

    I'll put up a Laserjet p2035n a network printer on a Windows 2003 server, which is already installed on another computer. I have the IP address and create a new standard TCP/IP port, but the HP site has only USB drivers (even for the N). I just need

  • Companion browser crashed

    I use google chrome as my browser. When I opened my browser I'm advised that partner of browser has crashed. Click on this balloon.  even after clicking, it is not rectified. How to remedy.  Give details me.

  • BlackBerry Z10 attaching pictures (screenshots) to emails

    Hello I tried to attach photos or screenshots that I composed an email. However when I go in tie--> images, it passes under the camera and any pictures that I took with my phone (especially the screenshot pictures of my office phone). I then tried fi

  • HTTP timeout

    Hi all I'm trying to set the timeout on my http connection; This code works fine on the Simulator, but survey java.io.IOException: invalid url parameter. on the real device (storm). Any ideas would be greatly appreciated! and yes I look the http miss

  • I get errors saying that the system memory is low.

    Hello. -A message that my system memory is low. -J' tried RESTORING the SYSTEM. but the warning is always present. -I am advised to close all OPEN PROGRAMS AND re - INSTALL. But I don't know how to do this. Could you please help. -Friendly - IAN RIPP